[
http://jira.codehaus.org/browse/MDEPLOY-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95881
]
Geoffrey De Smet commented on MDEPLOY-46:
-----------------------------------------
-DupdateReleaseInfo=true doesn't even seem to work on a normal:
mvn deploy -DupdateReleaseInfo=true
with pom
<repository>
<id>ggg-deploy</id>
<name>gggDeployment Repository</name>
<url>file:///D:/tmp/delete/deployrepo/</url>
</repository>
<snapshotRepository>
<id>ggg-dev</id>
<name>gggDevelopment Repository</name>
<url>file:///D:/tmp/delete/devrepo/</url>
</snapshotRepository>
if the version ends in -SNAPSHOT, as it creates
D:\tmp\delete\devrepo\org\springframework\richclient\spring-richclient\0.3.0-SNAPSHOT\spring-richclient-0.3.0-20070515.075943-1.pom
It should be:
...\deployrepo\.. instead of devrepo
and
not have SNAPSHOT in it's directory name.
> "mvn -DaltDeploymentRepository=... deploy" of a SNAPSHOT doesn't replace
> date.buildnumber
> ------------------------------------------------------------------------------------------
>
> Key: MDEPLOY-46
> URL: http://jira.codehaus.org/browse/MDEPLOY-46
> Project: Maven 2.x Deploy Plugin
> Issue Type: Bug
> Affects Versions: 2.3
> Reporter: Geoffrey De Smet
>
> I 've checkouted a m2 project (spring-richclient) and deployed it to my local
> repo using the altDeploymentRepository parameter (from MDEPLOY-41).
> But the checkout is a SNAPSHOT version and the deployer should replace it
> with something like spring-richclient-core-0.3.0-20070101.160450-2.jar
> like the mvn deploy without altDeploymentRepository does,
> but it doesn't:
> [INFO] [deploy:deploy]
> altDeploymentRepository = ggg-dev::default::scp://mvn.ggg.be/maven/maven2/dev
> [INFO] Using alternate deployment repository
> ggg-dev::default::scp://mvn.ggg.be/maven/maven2/dev
> [INFO] Retrieving previous build number from ggg-dev
> Uploading:
> scp://mvn.ggg.be/maven/maven2/dev/org/springframework/richclient/spring-richclient-core/0.3.0-SNAPSHOT/spring-richclient-core-0.3.0-SNAPSHOT.jar
> 50K uploaded
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira