brett 2004/02/25 14:39:29
Modified: plugin plugin.jelly
plugin/xdocs changes.xml
Log:
add deployment goal
Revision Changes Path
1.28 +10 -0 maven-plugins/plugin/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/plugin/plugin.jelly,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- plugin.jelly 31 Dec 2003 01:24:42 -0000 1.27
+++ plugin.jelly 25 Feb 2004 22:39:29 -0000 1.28
@@ -6,6 +6,7 @@
xmlns:maven="jelly:maven"
xmlns:u="jelly:util"
xmlns:define="jelly:define"
+ xmlns:deploy="deploy"
xmlns:x="jelly:xml">
<goal name="plugin"
@@ -238,6 +239,15 @@
goals="testPlugin"
ignoreFailures="false" />
</u:available>
+ </goal>
+
+ <goal name="plugin:repository-deploy" prereqs="plugin">
+ <deploy:artifact
+ artifact="${maven.build.dir}/${maven.final.name}.jar"
+ type="plugins"
+ assureDirectoryCommand="mkdir -p"
+ siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp
${maven.remote.group} ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy}
${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} >
${pom.artifactId}-snapshot-version"
+ />
</goal>
<define:taglib uri="assert">
1.10 +3 -0 maven-plugins/plugin/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/maven-plugins/plugin/xdocs/changes.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- changes.xml 10 Dec 2003 21:55:24 -0000 1.9
+++ changes.xml 25 Feb 2004 22:39:29 -0000 1.10
@@ -23,6 +23,9 @@
<action dev="dion" type="add">
Add plugin:test goal
</action>
+ <action dev="brett" type="add">
+ Add plugin:repository-deploy goal
+ </action>
</release>
<release version="1.1" date="2003-09-29">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]