Maven Distribution Plug-in Goals
dIon Gillard
dist
This is the default goal of the plugin and simply attains
the dist:build goal.
dist:build
This goal builds a complete distribution. It is achieved by
attaining the dist:build-bin and
dist:build-src goals.
dist:build-bin
Build a binary distribution made up of
- a
.tar.gz file
- a
.zip file
The contents of which come from the maven.dist.bin.archive.dir
directory.
dist:build-setup
Creates the maven.dist.dir directory.
dist:build-src
Build a source distribution made up of
- a
.tar.gz file
- a
.zip file
The contents of which come from the maven.dist.src.archive.dir
directory.
dist:deploy
Deploys both source and binary distributions to the remote repository. The distribution
is packaged as the file distributions.tar.gz. To create
this file the dist:build goal is attained.
dist:deploy-snapshot
Simply attains the dist:deploy goal after setting
the build name to a snapshot format.
dist:deploy-bin
Deploys a binary distribution to the remote repository.
To create this file the dist:build-bin goal is attained.
dist:deploy-src
Deploys a source distribution to the remote repository.
To create this file the dist:build-src goal is attained.
dist:prepare-bin-filesystem
This goal sets up the file system in preparation of the
binary distribution. It's prerequisites are the
jar:jar and javadoc:generate goals.
dist:prepare-src-filesystem
This goal sets up the file system in preparation of the
source distribution.
dist:multiproject-deploy
Top level goal that builds the source and binary distributions for
a multiproject configuration and deploys them.
dist:multiproject-deploy-bin
Builds the binary distributions (tarball and zip) for a multiproject
configuration and deploys them. All artifacts from subordinate
projects are collected, and all javadocs are assembled in a single
place.
dist:multiproject-deploy-src
Builds the source distributions (tarball and zip) for a multiproject
configuration and deploys them.
dist:multiproject-bin
Builds the binary distribution for a multiproject configuration by
gathering all artifacts and consolidating the javadocs of subordinate
projects.
dist:multiproject-src
Assembles the source distributions for a mutliproject configuration.
dist:multiproject
Top level goal used to build the distributions for a multiproject
configuration. Both the binary and source distributions are built.