kschrader 2002/11/23 06:36:43
Modified: src/plugins-build/java plugin.jelly project.xml
src/plugins-build/java/xdocs changes.xml goals.xml
Log:
Adding the long awaited jar:install-snapshot goal, as promised long ago to Bob.
Revision Changes Path
1.32 +17 -1 jakarta-turbine-maven/src/plugins-build/java/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/java/plugin.jelly,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- plugin.jelly 14 Nov 2002 17:46:25 -0000 1.31
+++ plugin.jelly 23 Nov 2002 14:36:42 -0000 1.32
@@ -225,7 +225,7 @@
</goal>
<!-- ================================================================== -->
- <!-- C L E A N -->
+ <!-- I N S T A L L J A R -->
<!-- ================================================================== -->
<goal name="jar:install" prereqs="java:jar"
@@ -236,6 +236,22 @@
<copy
file="${maven.build.dir}/${maven.final.name}.jar"
todir="${jardir__}"
+ />
+ </goal>
+
+ <!-- ================================================================== -->
+ <!-- I N S T A L L S N A P S H O T -->
+ <!-- ================================================================== -->
+
+ <goal
+ name="jar:install-snapshot" prereqs="jar:snapshot"
+ description="Install a snapshot jar in the local repository">
+
+ <property name="jardir__" value="${maven.repo.local}/${pom.groupId}/jars"/>
+ <mkdir dir="${jardir__}"/>
+ <copy
+ file="${maven.build.dir}/${maven.final.name}.jar"
+ tofile="${jardir__}/${pom.groupId}-SNAPSHOT.jar"
/>
</goal>
1.12 +12 -2 jakarta-turbine-maven/src/plugins-build/java/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/java/project.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- project.xml 6 Oct 2002 02:02:41 -0000 1.11
+++ project.xml 23 Nov 2002 14:36:42 -0000 1.12
@@ -63,10 +63,20 @@
</developer>
<developer>
- <name>St�phane Mor</name>
+ <name>St?phane Mor</name>
<id>smor</id>
<email>[EMAIL PROTECTED]</email>
- <organization>Hasgard Syst�mes et R�seaux</organization>
+ <organization>Hasgard Syst?mes et R?seaux</organization>
+ <roles>
+ <role>Java Developer</role>
+ </roles>
+ </developer>
+
+ <developer>
+ <name>Kurt Schrader</name>
+ <id>kschrader</id>
+ <email>[EMAIL PROTECTED]</email>
+ <organization>University of Michigan</organization>
<roles>
<role>Java Developer</role>
</roles>
1.5 +5 -0 jakarta-turbine-maven/src/plugins-build/java/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/java/xdocs/changes.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- changes.xml 23 Oct 2002 16:46:19 -0000 1.4
+++ changes.xml 23 Nov 2002 14:36:43 -0000 1.5
@@ -3,10 +3,15 @@
<properties>
<title>Changes</title>
<author email="[EMAIL PROTECTED]">dIon Gillard</author>
+ <author email="[EMAIL PROTECTED]">Kurt Schrader</author>
</properties>
<body>
<release version="1.2" date="in cvs">
+ <action dev="kschrader" type="add">
+ Added the jar:install-snapshot goal to install a SNAPSHOT
+ version jar in the local repository.
+ </action>
<action dev="dion" type="add" due-to="Daigo Moriwaki">
Added maven.compile.encoding property
</action>
1.2 +9 -0 jakarta-turbine-maven/src/plugins-build/java/xdocs/goals.xml
Index: goals.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/java/xdocs/goals.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- goals.xml 5 Oct 2002 03:51:50 -0000 1.1
+++ goals.xml 23 Nov 2002 14:36:43 -0000 1.2
@@ -4,6 +4,7 @@
<properties>
<title>Maven Java Plug-in Goals</title>
<author email="[EMAIL PROTECTED]">dIon Gillard</author>
+ <author email="[EMAIL PROTECTED]">Kurt Schrader</author>
</properties>
<body>
@@ -88,6 +89,14 @@
<td>
Install a jar into the local repository. The jar is built using
the <code>java:jar</code> goal
+ </td>
+ </tr>
+ <tr>
+ <td>jar:install-snapshot</td>
+ <td>
+ Install a jar into the local repository. The jar is built using
+ the <code>jar:snapshot</code> goal and copied into the local
+ repository as the -SNAPSHOT version.
</td>
</tr>
<tr>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>