From 81fd3cb557f4ea07fbdd55fdd48434ae685ba6e7 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 19 Sep 2006 21:49:56 +0000 Subject: [PATCH] PR: MPDIST-20 Submitted by: Phil Steitz Fix combined javadoc classpath in dist:multiproject-bin. New properties maven.dist.src.includes and maven.dist.bin.includes. Removed the maven.dist.src.include property. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@447987 13f79535-47bb-0310-9956-ffa450edef68 --- dist/plugin.jelly | 32 +++++++------------------ dist/plugin.properties | 4 +++- dist/src/plugin-test/project.properties | 2 +- dist/xdocs/changes.xml | 5 ++++ dist/xdocs/properties.xml | 19 +++++++++++---- 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/dist/plugin.jelly b/dist/plugin.jelly index 24e09b8b..ad3b2e28 100644 --- a/dist/plugin.jelly +++ b/dist/plugin.jelly @@ -54,11 +54,7 @@ - - - - - + @@ -141,16 +137,7 @@ ${maven.dist.src.include} - - - - - - - - - - + @@ -486,12 +473,7 @@ - - - - - - + @@ -538,10 +520,12 @@ + - - - + + + + diff --git a/dist/plugin.properties b/dist/plugin.properties index 35ff25d3..ae348462 100644 --- a/dist/plugin.properties +++ b/dist/plugin.properties @@ -31,4 +31,6 @@ maven.dist.crlf.filter=**/*.txt maven.dist.lf.filter= maven.dist.bin.include.site=true maven.dist.bin.artifact.type=jar -maven.dist.formats=zip,tgz \ No newline at end of file +maven.dist.formats=zip,tgz +maven.dist.bin.includes=README*,LICENSE*,NOTICE* +maven.dist.src.includes=README*,LICENSE*,NOTICE*,project.properties,maven.xml,project.xml diff --git a/dist/src/plugin-test/project.properties b/dist/src/plugin-test/project.properties index ed254827..7c384679 100644 --- a/dist/src/plugin-test/project.properties +++ b/dist/src/plugin-test/project.properties @@ -1 +1 @@ -maven.dist.src.include=custom.txt,doesntexists.txt +maven.dist.src.includes=maven.xml,project.properties,project.xml,custom.txt,doesntexists.txt diff --git a/dist/xdocs/changes.xml b/dist/xdocs/changes.xml index b252114f..72859b6c 100644 --- a/dist/xdocs/changes.xml +++ b/dist/xdocs/changes.xml @@ -24,6 +24,11 @@ + Fix combined javadoc classpath in dist:multiproject-bin. + New + maven.dist.src.includes and maven.dist.bin.includes properties. + Removed the maven.dist.src.include property. + dist:multiproject-bin fails if one of the projects does not have any java sources. Source distribution archive has incorrect directory structure. diff --git a/dist/xdocs/properties.xml b/dist/xdocs/properties.xml index cdd1ff22..28233be5 100644 --- a/dist/xdocs/properties.xml +++ b/dist/xdocs/properties.xml @@ -52,11 +52,6 @@ yes - default is ${maven.dist.assembly.dir}/src/${maven.final.name} The directory where the sources are copied to so that it can be archived - - maven.dist.src.include - yes - Comma delimited list of additional files which should be included in the source distribution - maven.dist.include.dirs yes @@ -117,6 +112,20 @@ Possible values are tgz and zip. + + maven.dist.bin.includes + yes - default is README*,LICENSE*,NOTICE*. + + A comma-separated list of files to include in the binary distribtion. + + + + maven.dist.src.includes + yes - default is README*,LICENSE*,NOTICE*,project.properties,maven.xml,project.xml. + + A comma-separated list of files to include in the source distribtion. + +