1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19 package org.apache.maven.execution;
20
21 /**
22 * Provides a skeleton implementation for execution listeners. The methods of this class are empty.
23 *
24 * @author Benjamin Bentmann
25 */
26 public class AbstractExecutionListener implements ExecutionListener {
27
28 public void projectDiscoveryStarted(ExecutionEvent event) {
29 // default does nothing
30 }
31
32 public void sessionStarted(ExecutionEvent event) {
33 // default does nothing
34 }
35
36 public void sessionEnded(ExecutionEvent event) {
37 // default does nothing
38 }
39
40 public void projectSkipped(ExecutionEvent event) {
41 // default does nothing
42 }
43
44 public void projectStarted(ExecutionEvent event) {
45 // default does nothing
46 }
47
48 public void projectSucceeded(ExecutionEvent event) {
49 // default does nothing
50 }
51
52 public void projectFailed(ExecutionEvent event) {
53 // default does nothing
54 }
55
56 public void forkStarted(ExecutionEvent event) {
57 // default does nothing
58 }
59
60 public void forkSucceeded(ExecutionEvent event) {
61 // default does nothing
62 }
63
64 public void forkFailed(ExecutionEvent event) {
65 // default does nothing
66 }
67
68 public void mojoSkipped(ExecutionEvent event) {
69 // default does nothing
70 }
71
72 public void mojoStarted(ExecutionEvent event) {
73 // default does nothing
74 }
75
76 public void mojoSucceeded(ExecutionEvent event) {
77 // default does nothing
78 }
79
80 public void mojoFailed(ExecutionEvent event) {
81 // default does nothing
82 }
83
84 public void forkedProjectStarted(ExecutionEvent event) {
85 // default does nothing
86 }
87
88 public void forkedProjectSucceeded(ExecutionEvent event) {
89 // default does nothing
90 }
91
92 public void forkedProjectFailed(ExecutionEvent event) {
93 // default does nothing
94 }
95 }