1 | |
package org.apache.maven.plugins.annotations; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | 0 | public enum LifecyclePhase |
28 | |
{ |
29 | |
|
30 | 0 | VALIDATE( "validate" ), |
31 | 0 | INITIALIZE( "initialize" ), |
32 | 0 | GENERATE_SOURCES( "generate-sources" ), |
33 | 0 | PROCESS_SOURCES( "process-sources" ), |
34 | 0 | GENERATE_RESOURCES( "generate-resources" ), |
35 | 0 | PROCESS_RESOURCES( "process-resources" ), |
36 | 0 | COMPILE( "compile" ), |
37 | 0 | PROCESS_CLASSES( "process-classes" ), |
38 | 0 | GENERATE_TEST_SOURCES( "generate-test-sources" ), |
39 | 0 | PROCESS_TEST_SOURCES( "process-test-sources" ), |
40 | 0 | GENERATE_TEST_RESOURCES( "generate-test-resources" ), |
41 | 0 | PROCESS_TEST_RESOURCES( "process-test-resources" ), |
42 | 0 | TEST_COMPILE( "test-compile" ), |
43 | 0 | PROCESS_TEST_CLASSES( "process-test-classes" ), |
44 | 0 | TEST( "test" ), |
45 | 0 | PREPARE_PACKAGE( "prepare-package" ), |
46 | 0 | PACKAGE( "package" ), |
47 | 0 | PRE_INTEGRATION_TEST( "pre-integration-test" ), |
48 | 0 | INTEGRATION_TEST( "integration-test" ), |
49 | 0 | POST_INTEGRATION_TEST( "post-integration-test" ), |
50 | 0 | VERIFY( "verify" ), |
51 | 0 | INSTALL( "install" ), |
52 | 0 | DEPLOY( "deploy" ), |
53 | |
|
54 | 0 | PRE_CLEAN( "pre-clean" ), |
55 | 0 | CLEAN( "clean" ), |
56 | 0 | POST_CLEAN( "post-clean" ), |
57 | |
|
58 | 0 | PRE_SITE( "pre-site" ), |
59 | 0 | SITE( "site" ), |
60 | 0 | POST_SITE( "post-site" ), |
61 | 0 | SITE_DEPLOY( "site-deploy" ), |
62 | |
|
63 | 0 | NONE( "" ); |
64 | |
|
65 | |
private final String id; |
66 | |
|
67 | |
LifecyclePhase( String id ) |
68 | 0 | { |
69 | 0 | this.id = id; |
70 | 0 | } |
71 | |
|
72 | |
public String id() |
73 | |
{ |
74 | 0 | return this.id; |
75 | |
} |
76 | |
|
77 | |
} |