o When the jar:deploy-snapshot goal is run there will be a file generated in
the repository of the form ${pom.artifactId}-snapshot-version. This
will contain the real snapshot version. So when we do releases we can
collect all the real snapshot versions for any SNAPSHOT version identifiers
in the POM.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112811 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
37f9b19dba
commit
8cd4b0fb59
@ -205,7 +205,7 @@
|
|||||||
artifact="${maven.build.dir}/${maven.jar.to.deploy}"
|
artifact="${maven.build.dir}/${maven.jar.to.deploy}"
|
||||||
type="jars"
|
type="jars"
|
||||||
assureDirectoryCommand="mkdir -p"
|
assureDirectoryCommand="mkdir -p"
|
||||||
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp maven ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar"
|
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp maven ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</goal>
|
</goal>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user