diff --git a/release/plugin.jelly b/release/plugin.jelly index 8f1be53b..49174b24 100644 --- a/release/plugin.jelly +++ b/release/plugin.jelly @@ -1,6 +1,11 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${maven.release.distribution.categories} + + ${category} + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/release/xdocs/goals.xml b/release/xdocs/goals.xml index bd3b314d..bda1e0c7 100644 --- a/release/xdocs/goals.xml +++ b/release/xdocs/goals.xml @@ -26,6 +26,33 @@ + + release:build-distribution-bin + + Builds binary distribution. Uses maven.release.distribution.categories property + to separated dependencies in categories and corresponding distribution directories. + Users can postGoal release:setup-distribution-bin with custom additional + distribution content. + + + + release:build-distribution-src + + Builds source distribution from source control using SCM plugin. + + + + release:deploy-distribution-bin + + Deploys binary distribution built via release:build-distribution-bin + + + + release:deploy-distribution-src + + Deploys source distribution built via release:build-distribution-src + + validate-pom-for-release diff --git a/release/xdocs/properties.xml b/release/xdocs/properties.xml index 2e91a406..1768937c 100644 --- a/release/xdocs/properties.xml +++ b/release/xdocs/properties.xml @@ -6,7 +6,52 @@
-

There are no settings to customize this plugin

+ + + + + + + + + + + + + + + + + + + + + +
PropertyOptional?Description
maven.release.name.binYesThe name of the binary release file. + Defaults to ${pom.artifactId}-${pom.currentVersion}-bin
maven.release.name.srcYesThe name of the source release file. + Defaults to ${pom.artifactId}-${pom.currentVersion}-src
maven.release.distribution.categoriesYesThe categories and relative paths of the dependencies to + be included in the release. A list of category:path + pairs, eg shared:lib,tools:tools/lib, where the + category is set via dependency properties: + + [groupId] + [artifactId] + [version] + + shared + + + + [anotherGroupId] + [anotherArtifactId] + [anotherVersion] + + tools + + +]]> +
\ No newline at end of file