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