New <code>cactus:jar-install</code> goal to install the Cactus jar in the local Maven repository. This is useful if you wish to put Cactus test classes in one Maven project and execute the Cactus tests in another project.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol
2003-09-11 12:14:10 +00:00
parent 3896be5639
commit 074503d80d
3 changed files with 37 additions and 4 deletions

View File

@@ -753,4 +753,27 @@
</define:tag>
</define:taglib>
<!--
========================================================================
Install the Cactus jar in the local repository.
========================================================================
-->
<goal name="cactus:jar-install" prereqs="cactus:jar"
description="Install the Cactus jar in the local repository">
<ant:echo>
id = '${pom.artifactId}'
groupId = '${pom.groupId}'
artifactDirectory = '${pom.artifactDirectory}'
</ant:echo>
<ant:property name="jardir__" value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
<ant:mkdir dir="${jardir__}"/>
<ant:copy
file="${maven.build.dir}/${pom.artifactId}-cactus-${pom.currentVersion}.jar"
todir="${jardir__}"
overwrite="true"
/>
</goal>
</project>

View File

@@ -8,11 +8,15 @@
<body>
<release version="3.1" date="in CVS">
<action dev="vmassol" type="add">
New <code>cactus:jar-install</code> goal to install the Cactus
jar in the local Maven repository. 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">
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.
the Cactus test classes.
</action>
<action dev="vmassol" type="add">
Added new <code>cactus.tmp.dir</code> optional property to specify

View File

@@ -62,7 +62,13 @@
<goal>
<name>cactus:jar</name>
<description>
Generate a jar containing the Cactus test classes. This is
Generate a jar containing the Cactus test classes.
</description>
</goal>
<goal>
<name>cactus:jar</name>
<description>
Deploy the Cactus jar to the local Maven repository. 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>