From 6c89a1087abe9f0ee1f4f9f60db0352d58a603eb Mon Sep 17 00:00:00 2001 From: ltheussl Date: Fri, 9 Jun 2006 23:44:08 +0000 Subject: [PATCH] PR: MPDIST-17 New property maven.dist.formats to allow creation of only zip or tar.gz archives. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@413193 13f79535-47bb-0310-9956-ffa450edef68 --- dist/plugin.jelly | 241 ++++++++++++++++++++++---------------- dist/plugin.properties | 3 +- dist/xdocs/changes.xml | 1 + dist/xdocs/properties.xml | 10 +- 4 files changed, 152 insertions(+), 103 deletions(-) diff --git a/dist/plugin.jelly b/dist/plugin.jelly index 3f4bc370..f863b475 100644 --- a/dist/plugin.jelly +++ b/dist/plugin.jelly @@ -190,73 +190,93 @@ prereqs="dist:build-setup,dist:prepare-bin-filesystem" description="Build the binary distribution."> - - - - + ${maven.dist.formats} - - - - + - - - + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + ${maven.dist.formats} - - - + - - - - + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -494,33 +514,44 @@ - - +---------------------------------------------+ - | C R E A T I N G B I N A R Y T A R B A L L | - +---------------------------------------------+ - + ${maven.dist.formats} - - - - - - - + - - +----------------------------------------------+ - | C R E A T I N G B I N A R Y Z I P F I L E | - +----------------------------------------------+ - + + + +---------------------------------------------+ + | C R E A T I N G B I N A R Y T A R B A L L | + +---------------------------------------------+ + + + + + + + + + + + + + + +----------------------------------------------+ + | C R E A T I N G B I N A R Y Z I P F I L E | + +----------------------------------------------+ + + + + + + + + + - - - - @@ -562,34 +593,42 @@ - + ${maven.dist.formats} - +---------------------------------------------+ - | C R E A T I N G S O U R C E T A R B A L L | - +---------------------------------------------+ - + - - - - - - - + + + +---------------------------------------------+ + | C R E A T I N G S O U R C E T A R B A L L | + +---------------------------------------------+ + - - +----------------------------------------------+ - | C R E A T I N G S O U R C E Z I P F I L E | - +----------------------------------------------+ - + + + + + + + - - - - + + + +----------------------------------------------+ + | C R E A T I N G S O U R C E Z I P F I L E | + +----------------------------------------------+ + + + + + + + + + + New property maven.dist.formats to allow creation of only zip or tar.gz archives. Allow distribution of artifact types other than jar. New property maven.dist.bin.artifact.type, deprecated property maven.dist.bin.artifact. New property maven.dist.bin.include.site to optionally include the site docs in the binary distribution. build-src goal does not use pom.build.sourceDirectory. diff --git a/dist/xdocs/properties.xml b/dist/xdocs/properties.xml index 093ce6a7..4fbbe22e 100644 --- a/dist/xdocs/properties.xml +++ b/dist/xdocs/properties.xml @@ -100,7 +100,15 @@ 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. + +