MPANT-23: Add License file to jar META-INF. Thanks to Phil Steitz.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@155609 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8ed332915
commit
6af21bb24d
@ -165,6 +165,14 @@
|
|||||||
|
|
||||||
</j:forEach>
|
</j:forEach>
|
||||||
|
|
||||||
|
<!-- Copy license -->
|
||||||
|
<ant:echo>${maven.license.licenseFile}</ant:echo>
|
||||||
|
<j:set var="licenseFile" value="${maven.license.licenseFile}"/>
|
||||||
|
<j:if test="${licenseFile != null and not licenseFile.trim().equals('')}">
|
||||||
|
<maven:makeRelativePath var="licensePath" basedir="${basedir}" path="${maven.license.licenseFile}" separator="/"/>
|
||||||
|
<copy todir="$${classesdir}/META-INF" file="${licensePath}"/>
|
||||||
|
</j:if>
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target
|
<target
|
||||||
|
|||||||
@ -1,2 +1,4 @@
|
|||||||
maven.jar.override=on
|
maven.jar.override=on
|
||||||
maven.jar.activation = ${basedir}/lib/activation-1.0.2.jar
|
maven.jar.activation = ${basedir}/lib/activation-1.0.2.jar
|
||||||
|
|
||||||
|
maven.license.licenseFile=${basedir}/../../../LICENSE.txt
|
||||||
@ -29,6 +29,7 @@
|
|||||||
<action dev="aheritier" type="add">Ant user can set proxy settings.</action>
|
<action dev="aheritier" type="add">Ant user can set proxy settings.</action>
|
||||||
<action dev="aheritier" type="add">New property maven.ant.compatibility if you want a script compatible with ant 1.5 (actually for proxy settings).</action>
|
<action dev="aheritier" type="add">New property maven.ant.compatibility if you want a script compatible with ant 1.5 (actually for proxy settings).</action>
|
||||||
<action dev="aheritier" type="update" issue="MPANT-21">"get-deps" target store downloads to the default local maven repository (<i>${user.home}/.maven/repository</i>).</action>
|
<action dev="aheritier" type="update" issue="MPANT-21">"get-deps" target store downloads to the default local maven repository (<i>${user.home}/.maven/repository</i>).</action>
|
||||||
|
<action dev="aheritier" type="add" issue="MPANT-23" due-to="Phil Steitz">Add License file to jar META-INF.</action>
|
||||||
</release>
|
</release>
|
||||||
<release version="1.8.1" date="2004-08-20">
|
<release version="1.8.1" date="2004-08-20">
|
||||||
<action dev="carlos" type="fix" issue="MPANT-16">Use relative paths in test resources filesets.</action>
|
<action dev="carlos" type="fix" issue="MPANT-16">Use relative paths in test resources filesets.</action>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user