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.