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 */
25 public class AbstractExecutionListener implements ExecutionListener {
26
27 public void projectDiscoveryStarted(ExecutionEvent event) {
28 // default does nothing
29 }
30
31 public void sessionStarted(ExecutionEvent event) {
32 // default does nothing
33 }
34
35 public void sessionEnded(ExecutionEvent event) {
36 // default does nothing
37 }
38
39 public void projectSkipped(ExecutionEvent event) {
40 // default does nothing
41 }
42
43 public void projectStarted(ExecutionEvent event) {
44 // default does nothing
45 }
46
47 public void projectSucceeded(ExecutionEvent event) {
48 // default does nothing
49 }
50
51 public void projectFailed(ExecutionEvent event) {
52 // default does nothing
53 }
54
55 public void forkStarted(ExecutionEvent event) {
56 // default does nothing
57 }
58
59 public void forkSucceeded(ExecutionEvent event) {
60 // default does nothing
61 }
62
63 public void forkFailed(ExecutionEvent event) {
64 // default does nothing
65 }
66
67 public void mojoSkipped(ExecutionEvent event) {
68 // default does nothing
69 }
70
71 public void mojoStarted(ExecutionEvent event) {
72 // default does nothing
73 }
74
75 public void mojoSucceeded(ExecutionEvent event) {
76 // default does nothing
77 }
78
79 public void mojoFailed(ExecutionEvent event) {
80 // default does nothing
81 }
82
83 public void forkedProjectStarted(ExecutionEvent event) {
84 // default does nothing
85 }
86
87 public void forkedProjectSucceeded(ExecutionEvent event) {
88 // default does nothing
89 }
90
91 public void forkedProjectFailed(ExecutionEvent event) {
92 // default does nothing
93 }
94 }