PR: MPDIST-14
New property maven.dist.include.dirs to include additional directories. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@413939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
22
dist/plugin.jelly
vendored
22
dist/plugin.jelly
vendored
@@ -110,6 +110,17 @@
|
||||
<ant:include name="**"/>
|
||||
</ant:fileset>
|
||||
</ant:copy>
|
||||
|
||||
<!-- Copy additional directories. -->
|
||||
<util:tokenize var="includedirs" delim=",">${maven.dist.include.dirs}</util:tokenize>
|
||||
<j:forEach items="${includedirs}" var="includedir">
|
||||
<util:available file="${includedir}">
|
||||
<ant:copy todir="${maven.dist.bin.assembly.dir}/${includedir}">
|
||||
<ant:fileset dir="${includedir}" />
|
||||
</ant:copy>
|
||||
</util:available>
|
||||
</j:forEach>
|
||||
|
||||
</goal>
|
||||
|
||||
<goal
|
||||
@@ -169,6 +180,17 @@
|
||||
<ant:fileset dir="${pom.build.sourceDirectory}" />
|
||||
</ant:copy>
|
||||
</util:available>
|
||||
|
||||
<!-- Copy additional directories. -->
|
||||
<util:tokenize var="includedirs" delim=",">${maven.dist.include.dirs}</util:tokenize>
|
||||
<j:forEach items="${includedirs}" var="includedir">
|
||||
<util:available file="${includedir}">
|
||||
<ant:copy todir="${maven.dist.src.assembly.dir}/${includedir}">
|
||||
<ant:fileset dir="${includedir}" />
|
||||
</ant:copy>
|
||||
</util:available>
|
||||
</j:forEach>
|
||||
|
||||
</goal>
|
||||
|
||||
<goal name="dist"
|
||||
|
||||
1
dist/xdocs/changes.xml
vendored
1
dist/xdocs/changes.xml
vendored
@@ -25,6 +25,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.7-SNAPSHOT" date="in SVN">
|
||||
<action dev="ltheussl" type="add" issue="MPDIST-14">New property maven.dist.include.dirs to include additional directories.</action>
|
||||
<action dev="ltheussl" type="fix" issue="MPDIST-11">Parent project is not included in source distribution.</action>
|
||||
<action dev="ltheussl" type="add" issue="MPDIST-17">New property maven.dist.formats to allow creation of only zip or tar.gz archives.</action>
|
||||
<action dev="ltheussl" type="add" issue="MPDIST-26">Allow distribution of artifact types other than jar. New property maven.dist.bin.artifact.type, deprecated property maven.dist.bin.artifact.</action>
|
||||
|
||||
8
dist/xdocs/properties.xml
vendored
8
dist/xdocs/properties.xml
vendored
@@ -57,6 +57,14 @@
|
||||
<td>yes</td>
|
||||
<td>Comma delimited list of additional files which should be included in the source distribution</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.dist.include.dirs</td>
|
||||
<td>yes</td>
|
||||
<td>
|
||||
Comma separated list of directories (relative to ${basedir}) that will be
|
||||
included recursively in the distributions.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.dist.dir</td>
|
||||
<td>yes - default is ${maven.build.dir}/distributions</td>
|
||||
|
||||
Reference in New Issue
Block a user