Properties Stéphane MOR dIon Gillard
PropertyOptional?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 maven.compile.fork is set to true

Corresponds to the nested compilerarg element for the ant javac task.

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 encoding attribute for the ant javac task.

maven.compile.executable Yes

Names the program to be invoked as the java compiler

Corresponds to the executable attribute for the ant javac task.

maven.compile.fork Yes

Runs the compiler in a separate process

Corresponds to the fork attribute for the ant javac task.

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 source attribute for the ant javac task.

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 target attribute for the ant javac task.

maven.compile.verbose Yes

Asks the compiler for verbose output

Corresponds to the verbose attribute for the ant javac task.

pom.build.sourceModifications Yes This property is the list of the ]]> source modifications in your project descriptor. This property is used during compilation to exclude or include classes from compilation depending on whether a named class is available
maven.has.jar.resource.patterns Yes This is a calculated property based on the value of the ]]> section of your project descriptor. If there are 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.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 ]]> section of your project descriptor
PropertyOptional?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
PropertyOptional?Description
maven.build.dest Yes The directory for compiled classes
maven.build.dir Yes Used by the java:jar goal for
  • a temporary manifest file, if one is not specified
  • the assembled jar file
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.