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.

Distribution Settings

PropertyOptional?Description
maven.dist.assembly.dir yes - default is ${maven.build.dir}/${maven.final.name} The base directory for the default assembly properties
maven.dist.bin.archive.dir yes - default is ${maven.dist.assembly.dir}/bin The directory where the binary archive is constructed from
maven.dist.src.archive.dir yes - default is ${maven.dist.assembly.dir}/src The directory where the source archive is constructed from
maven.dist.bin.assembly.dir yes - default is ${maven.dist.assembly.dir}/bin/${maven.final.name} The directory where the binaries are copied to so that it can be archived
maven.dist.src.assembly.dir yes - default is ${maven.dist.assembly.dir}/src/${maven.final.name} The directory where the sources are copied to so that it can be archived
maven.dist.include.dirs yes Comma separated list of directories (relative to ${basedir}) that will be included recursively in the distributions.
maven.dist.dir yes - default is ${maven.build.dir}/distributions The target directory that the final archive is placed in
maven.dist.bin.artifact yes - default is ${maven.final.name}.jar. DEPRECATED: this property is not used anymore. The name of the binary artifact depends on its type and is given by ${maven.[jar,ear,rar,war,ejb].final.name}.
maven.dist.bin.artifact.type yes - default is jar. The type of artifact to be included in the binary distribution. Possible values are jar, rar, war, ear and ejb.
maven.dist.bin.include.site yes - default is true. Whether to run maven site and include the site docs in the binary distribution, or not. If set to false, only the javadocs will be included.
maven.dist.crlf.filter yes - default is "**/*.txt". Filter specifying files to convert to CRLF (Windows style) line endings in zip distributions.
maven.dist.lf.filter yes - default is no filter applied (no change to any files). Filter specifying files to convert to LF line endings in both tar and zip distributions. This filter is applied before the crlf filter, so in zip archives, the crlf filter will take precendence for files that satisfy both filters.
maven.dist.formats yes - default is zip,tgz. A comma-separated list of distribution formats to build. Possible values are tgz and zip.
maven.dist.bin.includes yes - default is README*,LICENSE*,NOTICE*. A comma-separated list of files to include in the binary distribtion.
maven.dist.src.includes yes - default is README*,LICENSE*,NOTICE*,project.properties,maven.xml,project.xml. A comma-separated list of files to include in the source distribtion.