Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Goals

GoalDescription
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 project.xml file.

java:jar-resources

Copies any resources that must be present in the deployed JAR file, from the <build><resources> elements in your project.xml

maven-java-plugin:register

Register the java compiler output report.

maven-java-plugin:deregister

Deregister the java compiler output report.

maven-java-plugin:report

Generate the java compiler output report.

java:jar Deprecated. You must use jar:jar goal.