You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@excalibur.apache.org by le...@apache.org on 2004/10/27 14:32:49 UTC
svn commit: rev 55689 - excalibur/trunk/buildsystem
Author: leosimons
Date: Wed Oct 27 05:32:49 2004
New Revision: 55689
Modified:
excalibur/trunk/buildsystem/maven.xml
Log:
Each of our seperate distributables needs to have the LICENSE.txt and the NOTICE.txt included. Implemented using a <get/> for everything. Seems to work...
Modified: excalibur/trunk/buildsystem/maven.xml
==============================================================================
--- excalibur/trunk/buildsystem/maven.xml (original)
+++ excalibur/trunk/buildsystem/maven.xml Wed Oct 27 05:32:49 2004
@@ -70,6 +70,23 @@
</ant:exec>
</define:tag>
+ <define:tag name="get-license-bin">
+ <ant:mkdir dir="${maven.dist.bin.assembly.dir}"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/LICENSE.txt" dest="${maven.dist.bin.assembly.dir}/LICENSE.txt"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/NOTICE.txt" dest="${maven.dist.bin.assembly.dir}/NOTICE.txt"/>
+ </define:tag>
+
+ <define:tag name="get-license-src">
+ <ant:mkdir dir="${maven.dist.src.assembly.dir}"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/LICENSE.txt" dest="${maven.dist.src.assembly.dir}/LICENSE.txt"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/NOTICE.txt" dest="${maven.dist.src.assembly.dir}/NOTICE.txt"/>
+ </define:tag>
+
+ <define:tag name="get-license-jar">
+ <ant:mkdir dir="${maven.build.dest}/META-INF"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/LICENSE.txt" dest="${maven.build.dest}/META-INF/LICENSE.txt"/>
+ <ant:get src="http://svn.apache.org/repos/asf/excalibur/trunk/NOTICE.txt" dest="${maven.build.dest}/META-INF/NOTICE.txt"/>
+ </define:tag>
</define:taglib>
@@ -81,6 +98,18 @@
<ant:arg line="copy -m "${tagMsg}" ${repoBase}/trunk ${repoBase}/tags/${tagName}"/>
</ant:exec>
</goal>
+
+ <preGoal name="dist:build-src">
+ <excalibur:get-license-src/>
+ </preGoal>
+
+ <preGoal name="dist:build-bin">
+ <excalibur:get-license-bin/>
+ </preGoal>
+
+ <preGoal name="jar:jar">
+ <excalibur:get-license-jar/>
+ </preGoal>
<postGoal name="dist:build-src">
<excalibur:gpg name="${pom.artifactId}-${pom.currentVersion}-src.zip"
---------------------------------------------------------------------
To unsubscribe, e-mail: scm-unsubscribe@excalibur.apache.org
For additional commands, e-mail: scm-help@excalibur.apache.org