jvanzyl 4634ebc56c o incorporating Mauro Televi's patch to the release plugin, these
changes have been battle tested with DNA/Loom.

  Mauro's comments are attached for posterity:

  ---

attached is a first crack that incorporates the release functionality
currently in DNA and Loom distribution modules.

Two types of distributions:
- bin: this requires user customisation - uses dependency properties to
assign a category to a dependency and via a property
Eg, maven.release.distribution.categories=shared:lib,tools:tools/lib
tells it to place any "shared" dependency in path lib/ and
"tools" dependendency in tools/lib.
User can postGoal release:setup-distribution-bin to add any further
content to distribution.

- src: uses SCM plugin out of a box :-) works quite well IMO.

distribution artifact names are customisable but default to
${maven.final.name}-[bin|src].[tar.gz|zip]

Patch has documentation updated - so feel free to browse,
and let me if too scarse or patch.

If you create an issue in jira I can also attach the patch to it.
(I'm not sure If I can create the issue myself on maven project)

Further work would include incorporating the wrapper exes for the
release,�� but perhaps that's better done via a separate plugin.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114219 13f79535-47bb-0310-9956-ffa450edef68
2003-10-17 22:21:41 +00:00

63 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
<title>Maven Release Plug-in Goals</title>
</properties>
<body>
<goals>
<goal>
<name>convert-snapshots</name>
<description>
</description>
</goal>
<goal>
<name>convert-snapshots-auto</name>
<description>
</description>
</goal>
<goal>
<name>increment-snapshot-version</name>
<description>
</description>
</goal>
<goal>
<name>release</name>
<description>
</description>
</goal>
<goal>
<name>release:build-distribution-bin</name>
<description>
Builds binary distribution. Uses <code>maven.release.distribution.categories</code> property
to separated dependencies in categories and corresponding distribution directories.
Users can postGoal <code>release:setup-distribution-bin</code> with custom additional
distribution content.
</description>
</goal>
<goal>
<name>release:build-distribution-src</name>
<description>
Builds source distribution from source control using SCM plugin.
</description>
</goal>
<goal>
<name>release:deploy-distribution-bin</name>
<description>
Deploys binary distribution built via <code>release:build-distribution-bin</code>
</description>
</goal>
<goal>
<name>release:deploy-distribution-src</name>
<description>
Deploys source distribution built via <code>release:build-distribution-src</code>
</description>
</goal>
<goal>
<name>validate-pom-for-release</name>
<description>
</description>
</goal>
</goals>
</body>
</document>