add deployment goal
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114747 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df358002f4
commit
116272147f
@ -6,6 +6,7 @@
|
|||||||
xmlns:maven="jelly:maven"
|
xmlns:maven="jelly:maven"
|
||||||
xmlns:u="jelly:util"
|
xmlns:u="jelly:util"
|
||||||
xmlns:define="jelly:define"
|
xmlns:define="jelly:define"
|
||||||
|
xmlns:deploy="deploy"
|
||||||
xmlns:x="jelly:xml">
|
xmlns:x="jelly:xml">
|
||||||
|
|
||||||
<goal name="plugin"
|
<goal name="plugin"
|
||||||
@ -240,6 +241,15 @@
|
|||||||
</u:available>
|
</u:available>
|
||||||
</goal>
|
</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">
|
<define:taglib uri="assert">
|
||||||
<define:tag name="assertFileExists">
|
<define:tag name="assertFileExists">
|
||||||
<!-- @file : Full file path -->
|
<!-- @file : Full file path -->
|
||||||
|
|||||||
@ -23,6 +23,9 @@
|
|||||||
<action dev="dion" type="add">
|
<action dev="dion" type="add">
|
||||||
Add plugin:test goal
|
Add plugin:test goal
|
||||||
</action>
|
</action>
|
||||||
|
<action dev="brett" type="add">
|
||||||
|
Add plugin:repository-deploy goal
|
||||||
|
</action>
|
||||||
</release>
|
</release>
|
||||||
|
|
||||||
<release version="1.1" date="2003-09-29">
|
<release version="1.1" date="2003-09-29">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user