You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by vm...@apache.org on 2003/09/11 14:04:01 UTC
cvs commit: maven/src/plugins-build/cactus plugin.jelly
vmassol 2003/09/11 05:04:01
Modified: src/plugins-build/cactus/xdocs changes.xml goals.xml
src/plugins-build/cactus plugin.jelly
Log:
New <code>cactus:jar</code> goal to generate a jar containing the Cactus test classes. This is useful if you wish to put Cactus test classes in one Maven project and execute the Cactus tests in another project.
Revision Changes Path
1.27 +6 -0 maven/src/plugins-build/cactus/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/cactus/xdocs/changes.xml,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- changes.xml 6 Sep 2003 09:38:25 -0000 1.26
+++ changes.xml 11 Sep 2003 12:04:01 -0000 1.27
@@ -9,6 +9,12 @@
<release version="3.1" date="in CVS">
<action dev="vmassol" type="add">
+ New <code>cactus:jar</code> goal to generate a jar containing
+ the Cactus test classes. This is useful if you wish to put Cactus
+ test classes in one Maven project and execute the Cactus tests in
+ another project.
+ </action>
+ <action dev="vmassol" type="add">
Added new <code>cactus.tmp.dir</code> optional property to specify
a location where Cactus will put its temporary files (mostly where
it setup containers for execution). Defaults to
1.8 +8 -0 maven/src/plugins-build/cactus/xdocs/goals.xml
Index: goals.xml
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/cactus/xdocs/goals.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- goals.xml 10 Jul 2003 15:58:09 -0000 1.7
+++ goals.xml 11 Sep 2003 12:04:01 -0000 1.8
@@ -59,6 +59,14 @@
]]></source>
</description>
</goal>
+ <goal>
+ <name>cactus:jar</name>
+ <description>
+ Generate a jar containing the Cactus test classes. This is
+ useful if you wish to put Cactus test classes in one Maven
+ project and execute the Cactus tests in another Maven project.
+ </description>
+ </goal>
</goals>
</body>
</document>
1.36 +28 -0 maven/src/plugins-build/cactus/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven/src/plugins-build/cactus/plugin.jelly,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- plugin.jelly 6 Sep 2003 09:38:25 -0000 1.35
+++ plugin.jelly 11 Sep 2003 12:04:01 -0000 1.36
@@ -172,6 +172,34 @@
<!--
========================================================================
+ Generate a jar containing Cactus tests classes.
+ ========================================================================
+ -->
+ <goal name="cactus:jar" prereqs="cactus:compile"
+ description="Generate a Cactus jar">
+
+ <ant:jar
+ jarfile="${maven.build.dir}/${pom.artifactId}-cactus-${pom.currentVersion}.jar"
+ basedir="${cactus.target.classes.dir}">
+ <ant:manifest>
+ <ant:attribute name="Built-By" value="${user.name}"/>
+ <ant:attribute name="Created-By" value="Apache Jakarta Maven"/>
+ <ant:attribute name="Package" value="${pom.package}"/>
+ <ant:attribute name="Build-Jdk" value="${java.version}"/>
+ <ant:attribute name="Extension-Name" value="${pom.artifactId}"/>
+ <ant:attribute name="Specification-Version" value="${pom.specificationVersion}"/>
+ <ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/>
+ <ant:attribute name="Specification-Title" value="${pom.shortDescription}"/>
+ <ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
+ <ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/>
+ <ant:attribute name="Implementation-Vendor-Id" value="${pom.organization.identifier}"/>
+ </ant:manifest>
+ </ant:jar>
+
+ </goal>
+
+ <!--
+ ========================================================================
Cactify an application war.
========================================================================
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org