[ http://jira.codehaus.org/browse/MDEPLOY-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly closed MDEPLOY-53. ----------------------------------- Resolution: Not A Bug I think this is a misunderstanding of how version numbers work in Maven 2+ > Should return an error when deploying a version of SNAPSHOT > ----------------------------------------------------------- > > Key: MDEPLOY-53 > URL: http://jira.codehaus.org/browse/MDEPLOY-53 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Kristof Van Cleemput > > The snapshot that I want to use in a maven2 project is created by maven1. > So I deployed it with the following command: > mvn deploy:deploy-file -DgroupId=GROUP -DartifactId=ARTIFACT > -Dversion=SNAPSHOT -Dpackaging=jar -Dfile=ARTIFACT -SNAPSHOT.jar > -DrepositoryId=REPO-Durl=scp://REPO/maven2/dev > This is NOT correct for maven 2 it should state -Dversion=x.x-SNAPSHOT but > everything just deployed without errors. > Later when using ${baseVersion} it doesn't return SNAPSHOT but the number > After cleaning the repo and redeploying the jar with x.x-SNAPHOT everything > worked like it should => ${baseVersion} returns x.x-SNAPSHOT -- 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