o moving pom:deploy goal to the pom plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -160,28 +160,4 @@
|
||||
|
||||
</define:taglib>
|
||||
|
||||
<!-- ========================================================================== -->
|
||||
<!-- D E P L O Y P O M -->
|
||||
<!-- ========================================================================== -->
|
||||
<!-- POMs are deployed in the form ${pom.artifactId}-${pom.currentVersion}.pom -->
|
||||
<!-- to match the same versioning convention as JARs. Having the POMs -->
|
||||
<!-- deployed during each release will allow someone to build any -->
|
||||
<!-- version of a project reliably. -->
|
||||
<!-- ========================================================================== -->
|
||||
|
||||
<goal name="deploy:pom"
|
||||
description="Deploy POM to the central repository.">
|
||||
|
||||
<copy file="project.xml" tofile="${pom.artifactId}-${pom.currentVersion}.pom"/>
|
||||
|
||||
<deploy:artifact
|
||||
artifact="${pom.artifactId}-${pom.currentVersion}.pom"
|
||||
type="poms"
|
||||
assureDirectoryCommand="mkdir -p"
|
||||
/>
|
||||
|
||||
<delete file="${pom.artifactId}-${pom.currentVersion}.pom"/>
|
||||
|
||||
</goal>
|
||||
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user