1 package org.apache.maven;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 /**
22 * MavenSession constants.
23 *
24 * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
25 * @version $Id: MavenConstants.java 517014 2007-03-11 21:15:50Z ltheussl $
26 */
27 public class MavenConstants
28 {
29 /**
30 * This is an internal version for MavenSession self updating
31 * procedures. A MavenSession installation can query a MavenSession
32 * installation distributor to see if it is up-to-date
33 * and self-update if required.
34 */
35 public static final int MAVEN_VERSION = 3;
36
37 /**
38 * This is the version of the POM that this version of
39 * MavenSession operates with. If a descrepancy is found between
40 * the version of the POM being used and the version of
41 * the POM that this version of MavenSession can deal with then
42 * the POM will be transformed into compliance.
43 */
44 public static final int POM_VERSION = 3;
45
46 /** Online tag. */
47 public static final String ONLINE = "maven.mode.online";
48
49 /** Jar Override tag. */
50 public static final String JAR_OVERRIDE = "maven.jar.override";
51
52 /** Jar Override property tag. */
53 public static final String JAR_OVERRIDE_PROPERTY = "maven.jar.";
54
55 /** Local Repository tag. */
56 public static final String REPO_LOCAL = "maven.repo.local";
57
58 /** Local Repository tag. */
59 public static final String REPO_REMOTE = "maven.repo.remote";
60
61 /** Local Repository enabled tag. */
62 public static final String REPO_REMOTE_ENABLED = "maven.repo.remote.enabled";
63
64 /** Proxy host tag. */
65 public static final String PROXY_HOST = "maven.proxy.host";
66
67 /** Proxy port tag. */
68 public static final String PROXY_PORT = "maven.proxy.port";
69
70 /** Proxy user name tag. */
71 public static final String PROXY_USERNAME = "maven.proxy.username";
72
73 /** Proxy password tag. */
74 public static final String PROXY_PASSWORD = "maven.proxy.password";
75
76 /** Proxy loginHost tag. */
77 public static final String PROXY_NTLM_HOST = "maven.proxy.ntlm.host";
78
79 /** Proxy loginDomain tag. */
80 public static final String PROXY_NTLM_DOMAIN = "maven.proxy.ntlm.domain";
81
82 /** Non-proxied hosts. */
83 public static final String PROXY_NONPROXYHOSTS = "maven.proxy.nonProxyHosts";
84
85 /** Download meter type variable. */
86 public static final String DOWNLOAD_METER = "maven.download.meter";
87
88 /** Snapshot JAR signifier tag. */
89 public static final String SNAPSHOT_SIGNIFIER = "SNAPSHOT";
90
91 /** Driver properties */
92 public static final String DRIVER_PROPERTIES = "/driver.properties";
93
94 /** Project build file name. (maven.xml) */
95 public static final String BUILD_FILE_NAME = "maven.xml";
96
97 /** Defaults goal name property. */
98 public static final String DEFAULT_GOAL = "maven.default.goal";
99
100 /** Defaults properties */
101 public static final String DEFAULTS_PROPERTIES = "/defaults.properties";
102
103
104
105 /** MavenSession home context tag **/
106 public static final String MAVEN_HOME = "maven.home";
107
108 /** MavenSession home local context tag **/
109 public static final String MAVEN_HOME_LOCAL = "maven.home.local";
110
111 /** MavenSession plugins context tag **/
112 public static final String MAVEN_PLUGINS_DIR = "maven.plugin.dir";
113
114 /** MavenSession unpacked plugins context tag **/
115 public static final String MAVEN_UNPACKED_PLUGINS_DIR = "maven.plugin.unpacked.dir";
116
117 /** MavenSession local plugins context tag **/
118 public static final String MAVEN_USER_PLUGINS_DIR = "maven.plugin.user.dir";
119
120 /** MavenSession build file url context tag **/
121 public static final String MAVEN_BUILD_FILE_URL = "maven.project.buildFile.url";
122
123 /** MavenSession ant project context tag **/
124 public static final String MAVEN_ANT_PROJECT = "maven.ant.project";
125
126 /** MavenSession POM context tag **/
127 public static final String MAVEN_POM = "pom";
128
129 /** MavenSession goals context tag **/
130 public static final String MAVEN_GOALS = "maven.goals";
131
132 /** MavenSession project verifier context tag **/
133 public static final String MAVEN_PROJECT_VERIFIER = "maven.project.verifier";
134
135 /** Werkz project context tag **/
136 public static final String WERKZ_PROJECT = "org.apache.commons.jelly.werkz.Project";
137
138 /** Reactor projects context tag **/
139 public static final String REACTOR_PROJECT = "maven.reactorProjects";
140
141 /** Plugin Manager tag. */
142 public static final String PLUGIN_MANAGER = "maven.plugin.manager";
143
144 /** Jelly XMLOutput tag. */
145 public static final String XML_OUTPUT = "maven.xmlOutput";
146
147 /** MavenSession debug flag tag. */
148 public static final String DEBUG_ON = "maven.debugOn";
149
150 /** MavenSession debug flag tag. */
151 public static final String EMACS_MODE_ON = "maven.emacsModeOn";
152
153 /** Descriptor directory tag. (project.xml) */
154 public static final String DESCRIPTOR_DIRECTORY = "maven.descriptorDirectory";
155
156 /** Project build file tag. (maven.xml) */
157 public static final String BUILD_FILE = "maven.projectBuildFile";
158
159 /** Project descriptor file tag. (project.xml) */
160 public static final String DESCRIPTOR_FILE = "maven.descriptorFile";
161
162 /** Dependency classpath tag. */
163 public static final String DEPENDENCY_CLASSPATH = "maven.dependency.classpath";
164
165 /** Dependency classpath tag. */
166 public static final String SESSION = "maven.session";
167
168 /** Reactor/Maven subproject Build failure tag. */
169 public static final String BUILD_FAILURE = "maven.build.failure";
170
171 /** Reactor/Maven subproject Build failure project list tag. */
172 public static final String FAILED_PROJECTS = "failedProjects";
173
174 /** Maven compile sourceroots. */
175 public static final String COMPILE_SOURCEROOTS = "compile.sourceroots";
176
177 /** Maven test compile sourceroots. */
178 public static final String TEST_COMPILE_SOURCEROOTS = "test.compile.sourceroots";
179 }