Maven Java Plug-in Goals dIon Gillard Kurt Schrader
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 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 Deprecated. You must use jar:jar goal.