001package org.apache.maven.execution; 002 003/* 004 * Licensed to the Apache Software Foundation (ASF) under one 005 * or more contributor license agreements. See the NOTICE file 006 * distributed with this work for additional information 007 * regarding copyright ownership. The ASF licenses this file 008 * to you under the Apache License, Version 2.0 (the 009 * "License"); you may not use this file except in compliance 010 * with the License. You may obtain a copy of the License at 011 * 012 * http://www.apache.org/licenses/LICENSE-2.0 013 * 014 * Unless required by applicable law or agreed to in writing, 015 * software distributed under the License is distributed on an 016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 017 * KIND, either express or implied. See the License for the 018 * specific language governing permissions and limitations 019 * under the License. 020 */ 021 022/** 023 * Provides a skeleton implementation for execution listeners. The methods of this class are empty. 024 * 025 * @author Benjamin Bentmann 026 */ 027public class AbstractExecutionListener 028 implements ExecutionListener 029{ 030 031 public void projectDiscoveryStarted( ExecutionEvent event ) 032 { 033 // default does nothing 034 } 035 036 public void sessionStarted( ExecutionEvent event ) 037 { 038 // default does nothing 039 } 040 041 public void sessionEnded( ExecutionEvent event ) 042 { 043 // default does nothing 044 } 045 046 public void projectSkipped( ExecutionEvent event ) 047 { 048 // default does nothing 049 } 050 051 public void projectStarted( ExecutionEvent event ) 052 { 053 // default does nothing 054 } 055 056 public void projectSucceeded( ExecutionEvent event ) 057 { 058 // default does nothing 059 } 060 061 public void projectFailed( ExecutionEvent event ) 062 { 063 // default does nothing 064 } 065 066 public void forkStarted( ExecutionEvent event ) 067 { 068 // default does nothing 069 } 070 071 public void forkSucceeded( ExecutionEvent event ) 072 { 073 // default does nothing 074 } 075 076 public void forkFailed( ExecutionEvent event ) 077 { 078 // default does nothing 079 } 080 081 public void mojoSkipped( ExecutionEvent event ) 082 { 083 // default does nothing 084 } 085 086 public void mojoStarted( ExecutionEvent event ) 087 { 088 // default does nothing 089 } 090 091 public void mojoSucceeded( ExecutionEvent event ) 092 { 093 // default does nothing 094 } 095 096 public void mojoFailed( ExecutionEvent event ) 097 { 098 // default does nothing 099 } 100 101 public void forkedProjectStarted( ExecutionEvent event ) 102 { 103 // default does nothing 104 } 105 106 public void forkedProjectSucceeded( ExecutionEvent event ) 107 { 108 // default does nothing 109 } 110 111 public void forkedProjectFailed( ExecutionEvent event ) 112 { 113 // default does nothing 114 } 115 116}