1 package org.apache.maven.demo.extension;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.execution.AbstractExecutionListener;
23 import org.apache.maven.execution.ExecutionEvent;
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 public class ExecutionListenerDemo
42 extends AbstractExecutionListener
43 {
44 public void projectDiscoveryStarted( ExecutionEvent event )
45 {
46 System.err.println( "ExecutionListenerDemo projectDiscoveryStarted" );
47 }
48
49 public void sessionStarted( ExecutionEvent event )
50 {
51 System.err.println( "ExecutionListenerDemo sessionStarted" );
52 }
53
54 public void sessionEnded( ExecutionEvent event )
55 {
56 System.err.println( "ExecutionListenerDemo sessionEnded" );
57 }
58
59 public void projectSkipped( ExecutionEvent event )
60 {
61 System.err.println( "ExecutionListenerDemo projectSkipped" );
62 }
63
64 public void projectStarted( ExecutionEvent event )
65 {
66 System.err.println( "ExecutionListenerDemo projectStarted" );
67 }
68
69 public void projectSucceeded( ExecutionEvent event )
70 {
71 System.err.println( "ExecutionListenerDemo projectSucceeded" );
72 }
73
74 public void projectFailed( ExecutionEvent event )
75 {
76 System.err.println( "ExecutionListenerDemo projectFailed" );
77 }
78
79 public void forkStarted( ExecutionEvent event )
80 {
81 System.err.println( "ExecutionListenerDemo forkStarted" );
82 }
83
84 public void forkSucceeded( ExecutionEvent event )
85 {
86 System.err.println( "ExecutionListenerDemo forkSucceeded" );
87 }
88
89 public void forkFailed( ExecutionEvent event )
90 {
91 System.err.println( "ExecutionListenerDemo forkFailed" );
92 }
93
94 public void mojoSkipped( ExecutionEvent event )
95 {
96 System.err.println( "ExecutionListenerDemo mojoSkipped" );
97 }
98
99 public void mojoStarted( ExecutionEvent event )
100 {
101 System.err.println( "ExecutionListenerDemo mojoStarted" );
102 }
103
104 public void mojoSucceeded( ExecutionEvent event )
105 {
106 System.err.println( "ExecutionListenerDemo mojoSucceeded" );
107 }
108
109 public void mojoFailed( ExecutionEvent event )
110 {
111 System.err.println( "ExecutionListenerDemo mojoFailed" );
112 }
113
114 public void forkedProjectStarted( ExecutionEvent event )
115 {
116 System.err.println( "ExecutionListenerDemo forkedProjectStarted" );
117 }
118
119 public void forkedProjectSucceeded( ExecutionEvent event )
120 {
121 System.err.println( "ExecutionListenerDemo forkedProjectSucceeded" );
122 }
123
124 public void forkedProjectFailed( ExecutionEvent event )
125 {
126 System.err.println( "ExecutionListenerDemo forkedProjectFailed" );
127 }
128 }