From 4afa7e80fe3e5741f42fddbab5f2171c09785b5f Mon Sep 17 00:00:00 2001 From: ltheussl Date: Fri, 9 Jun 2006 22:39:50 +0000 Subject: [PATCH] PR: MPDIST-19 New property maven.dist.bin.include.site to optionally include the site docs in the binary distribution. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@413185 13f79535-47bb-0310-9956-ffa450edef68 --- dist/plugin.jelly | 13 ++++++++++++- dist/plugin.properties | 1 + dist/xdocs/changes.xml | 1 + dist/xdocs/properties.xml | 10 +++++++++- 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/dist/plugin.jelly b/dist/plugin.jelly index 5c61c687..e63b306d 100644 --- a/dist/plugin.jelly +++ b/dist/plugin.jelly @@ -34,7 +34,7 @@ + + + + + + + + + + diff --git a/dist/plugin.properties b/dist/plugin.properties index e7858f0a..ab870a72 100644 --- a/dist/plugin.properties +++ b/dist/plugin.properties @@ -29,3 +29,4 @@ maven.dist.dir=${maven.build.dir}/distributions maven.dist.bin.artifact=${maven.final.name}.jar maven.dist.crlf.filter=**/*.txt maven.dist.lf.filter= +maven.dist.bin.include.site=true diff --git a/dist/xdocs/changes.xml b/dist/xdocs/changes.xml index 5ec13508..3f9cd8d2 100644 --- a/dist/xdocs/changes.xml +++ b/dist/xdocs/changes.xml @@ -25,6 +25,7 @@ + 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. Fix compatibility with the version of ant plugin newer or equal to 1.10. New maven.dist.src.include property. diff --git a/dist/xdocs/properties.xml b/dist/xdocs/properties.xml index 1cd3e69b..cc6bfb38 100644 --- a/dist/xdocs/properties.xml +++ b/dist/xdocs/properties.xml @@ -66,7 +66,15 @@ maven.dist.bin.artifact yes - default is ${maven.final.name}.jar. The name of the binary artifact to include in distribution, relative to target dir. - + + + maven.dist.bin.include.site + yes - default is true. + + Whether to run maven site and include the site docs in the binary distribution, or not. + If set to false, only the javadocs will be included. + + maven.dist.crlf.filter yes - default is "**/*.txt".