From 8cd4b0fb59c5e5de1d43b648c4c46edfde71702a Mon Sep 17 00:00:00 2001 From: jvanzyl Date: Sun, 2 Feb 2003 15:42:13 +0000 Subject: [PATCH] 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 --- java/plugin.jelly | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/plugin.jelly b/java/plugin.jelly index 3d14c33a..6ff475e3 100644 --- a/java/plugin.jelly +++ b/java/plugin.jelly @@ -205,7 +205,7 @@ artifact="${maven.build.dir}/${maven.jar.to.deploy}" type="jars" 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" />