jvanzyl 2002/07/10 23:39:29
Modified: src/plugins/java plugin.jelly
Log:
o Trying out the 'latest' feature. When a snapshot JAR is uploaded a
symbolic link is add pointing to the snapshot just uploaded. So if
we upload:
commons-jelly-1.0-dev.20020711.063333.jar
we will also get
commons-jelly-latest.jar
which points to the snapshot.
This is an experiment after chatting with John McNally. This might possibly
be better named as commons-jelly-dev.jar and the latest released version
can be named 'latest'. Dunno. Just seeing if it works.
Revision Changes Path
1.18 +14 -0 jakarta-turbine-maven/src/plugins/java/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins/java/plugin.jelly,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- plugin.jelly 11 Jul 2002 01:43:57 -0000 1.17
+++ plugin.jelly 11 Jul 2002 06:39:29 -0000 1.18
@@ -186,6 +186,20 @@
<arg value="${maven.username}@${pom.siteAddress}:${maven.remote.jars.dir}"/>
</exec>
+ <!--
+
+ Make a symbolic link to the most recent JAR pushed up to
+ the repository.
+
+ -->
+
+ <property name="site" value="jakarta.apache.org"/>
+ <property name="dir"
value="/www/jakarta.apache.org/turbine/jars2/${pom.id}/jars"/>
+
+ <exec dir="." executable="${maven.ssh.executable}">
+ <arg line="${site} -l ${maven.username} 'cd ${dir}; ln -sf
${maven.jar.to.deploy} ${pom.id}-latest.jar'"/>
+ </exec>
+
</goal>
</project>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>