| Goal | Description |
|---|---|
| clean | +
+ This goal is a shortcut to the clean:clean goal
+ |
+
| clean:clean | ++ Removes the maven.build.dir and + maven.test.reportsDirectory directories + | +
+ This plug-in provides functionality for cleaning output directory. +
+| Goal | Description |
|---|---|
| clean | +
+ This goal is a shortcut to the clean:clean goal
+ |
+
| clean:clean | ++ Removes the maven.build.dir and + maven.test.reportsDirectory directories + | +
+ This plug-in provides functionality for cleaning output directory. +
+| Goal | Description |
|---|---|
| java:prepare-filesystem | ++ Creates the directories necessary for compilation + | +
| java:compile | +
+ + Compiles the Java source code for the project + +
+ The source code directory is specified in the
+ build
+ element of your |
+
| java:jar-resources | +
+ + Copies any resources that must be present in the deployed JAR + file, from the directory specified by + maven.jarResources.basedir to the + build directory, where class files are stored. + ++ The maven.jar.resources.set + property is used to determine which files from the base directory + are included + + |
+
| java:jar | +
+ Creates a jar file in the Maven build directory with the
+ form ${project.id}-${project.currentVersion}.jar where
+ the id and currentVersion are taken from the project.xml
+ of the project being built.
+ |
+
| jar:snapshot | +
+ Creates a jar file in the Maven build directory with the
+ form ${project.id}-YYYYMMDD.hhmmss.jar where
+
|
+
| jar:deploy-snapshot | ++ Deploy a snapshot jar to the remote repository + | +
| jar:deploy | +
+ Deploy a jar to the remote repository. The jar is built using
+ the java:jar goal
+ |
+
| jar:install | +
+ Install a jar into the local repository. The jar is built using
+ the java:jar goal
+ |
+
| jar:install-snapshot | +
+ Install a jar into the local repository. The jar is built using
+ the jar:snapshot goal and copied into the local
+ repository as the -SNAPSHOT version.
+ |
+
| clean | +
+ This goal is a shortcut to the clean:clean goal
+ |
+
| clean:clean | ++ Removes the maven.build.dir and + maven.test.reportsDirectory directories + | +
+ This plug-in provides your basic Javac and Jar facilities. +
++ For more information on the functionality provided by this plugin, + please see the Goals document. +
++ For more information on how to customise the functionality provided + by this plugin, please see the properties + document. +
+| Property | Optional? | Description |
|---|---|---|
| maven.compile.aspects | +Yes | +
+ Specifies that Aspects are included during compilation.
+ Used by the "java:compile" goal.
+ The default value is false. Please
+ refer to the AspectJ
+ web site for more information on Aspect-Oriented
+ Programming.
+ |
+
| maven.compile.compilerargs | +Yes | +
+
+ Provides arguments to a compiler when
+ Corresponds to the nested |
+
| maven.compile.debug | +Yes | +
+ Specifies wether to include debugging information in the compiled
+ class files; the default value is on.
+ Used by the "java:compile" goal.
+ |
+
| maven.compile.deprecation | +Yes | +
+ Specifies wether source should be compiled with deprecation
+ information; the default value is off.
+ Used by the "java:compile" goal.
+ |
+
| maven.compile.encoding | +Yes | +
+ + Sets the encoding of the .java files being compiled + +
+ Corresponds to the |
+
| maven.compile.executable | +Yes | +
+ + Names the program to be invoked as the java compiler + +
+ Corresponds to the |
+
| maven.compile.fork | +Yes | +
+ + Runs the compiler in a separate process + +
+ Corresponds to the |
+
| maven.compile.optimize | +Yes | +
+ Specifies whether source should be compiled with optimization; the
+ default value is off.
+ Used by the "java:compile" goal.
+ |
+
| maven.compile.source | +Yes | +
+ + Provide source compatibility with a specific release + +
+ Corresponds to the |
+
| maven.compile.src.set | +Yes | ++ The source directories maven uses to compile java code. + | +
| maven.compile.target | +Yes | +
+ + Generate class files for a specific JVM version + +
+ Corresponds to the |
+
| maven.compile.verbose | +Yes | +
+ + Asks the compiler for verbose output + +
+ Corresponds to the |
+
| pom.build.sourceModifications | +Yes | +
+ This property is the list of the
+ |
+
| maven.has.jar.resource.patterns | +Yes | +
+ This is a calculated property based on the value of the
+ includes or excludes
+ elements, this property will be set to true
+ |
+
| maven.jar.excludes | +Yes | +
+ Specifies a list of patterns to exclude from the jar process.
+ The default value is **/package.html, and is used
+ by the "java:jar" goal.
+ |
+
| maven.jar.manifest | +Yes | ++ Specifies the manifest to be used in the creation of a jar. + This file is 'merged' with the default manifest created by + Maven. Any values specified in the file referenced by this + property will override Maven's defaults. + | +
| maven.jar.mainclass | +Yes | ++ Specifies the Main-Class attribute for your manifest. If not set, + no MainClass attribute will be added to the manifest. + | +
| maven.jarResources.basedir | +Yes | ++ The base directory from which resources to be included in a jar can be found. + Defaults to the base directory of the project. + | +
| maven.jar.resources.set | +Yes | +
+ This is the Ant patternset of all the includes and
+ excludes from the
+ |
+
| Property | Optional? | Description |
|---|---|---|
| maven.repo.central | +Yes | ++ Central repository for maven artifacts + | +
| maven.repo.central.directory | +Yes | ++ Directory to deploy jars into on the remote repository + | +
| maven.repo.local | +Yes | ++ The local repository to store maven artifacts, including jar file + dependencies + | +
| maven.username | +Yes | ++ This is the user name used to log in to the remote repository + | +
| Property | Optional? | Description |
|---|---|---|
| maven.build.dest | +Yes | +The directory for compiled classes | +
| maven.build.dir | +Yes | +
+ Used by the java:jar goal for
+
|
+
| maven.dependency.classpath | +Yes | +
+ This property holds the Ant path of all the dependent jar
+ files listed in the dependencies block of your
+
+ project descriptor
+ |
+
| maven.final.name | +Yes | +
+ Usually this property is set to ${project.id}-${project.currentVersion}
+ but the snapshot goal overwrites it to be the snapshot signature
+ |
+
| user.name | +Yes | +
+ Used by the java:jar goal as the default value of the
+ Built-By attribute of the manifest if one is not specified.
+ |
+