The release-profile is triggered by default by the release plugin and it sets the updateReleaseInfo param, so it's (in this case) equal to what you did in both attempts. It should update the release tag. Doesn't it? However, I now see that you're talking about the "latest" tag in the metadata. I would expect that one to point at the latest version being deployed.
/Anders On Mon, Jan 2, 2012 at 05:11, goutham <[email protected]> wrote: > Hi Ander, > > I tried mvn release:prepare then mvn release:perform. > Now i even tried mvn deploy -DupdateReleaseInfo=true . Still it points to > old version. > You mentioned about release-profile ! How should i config it? Any example? > > -Goutham > > On Mon, Jan 2, 2012 at 3:15 AM, Anders Hammar [via Maven] < > [email protected]> wrote: > >> I believe you didn't use the release plugin or didn't use the >> release-profile when deploying, as the release info hasn't been >> updated: >> >> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#updateReleaseInfo >> >> /Anders >> >> On Sun, Jan 1, 2012 at 21:38, goutham <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=5113612&i=0>> >> wrote: >> >> > Hello every one, >> > >> > I deployed a plugin in nexus repo with version 1.0.0. >> > >> > Recently i deployed a new version i.e 1.1.0 but the latest tag in >> metadata >> > doesnot point to 1.1.0 , it still points to 1.0.0 >> > >> > I used " mvn deploy " command. >> > >> > metadata.xml >> > <metadata> >> > <groupId>org.my.maven.plugins</groupId> >> > <artifactId>my-wizard-plugin</artifactId> >> > <versioning> >> > <latest>1.0.0</latest> >> > <release>1.0.0</release> >> > <versions> >> > <version>1.1.0</version> >> > <version>1.0.0</version> >> > </versions> >> > <lastUpdated>...</lastUpdated> >> > </versioning> >> > </metadata> >> > >> > Is there any other way to deploy? >> > >> > >> > Thank you in advance >> > Goutham >> > >> > -- >> > View this message in context: >> http://maven.40175.n5.nabble.com/Unable-to-update-latest-tag-under-versioning-tag-on-mvn-deploy-tp5113547p5113547.html >> > Sent from the Maven - Users mailing list archive at Nabble.com. >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [hidden >> > email]<http://user/SendEmail.jtp?type=node&node=5113612&i=1> >> > For additional commands, e-mail: [hidden >> > email]<http://user/SendEmail.jtp?type=node&node=5113612&i=2> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=5113612&i=3> >> For additional commands, e-mail: [hidden >> email]<http://user/SendEmail.jtp?type=node&node=5113612&i=4> >> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://maven.40175.n5.nabble.com/Unable-to-update-latest-tag-under-versioning-tag-on-mvn-deploy-tp5113547p5113612.html >> To unsubscribe from Unable to update latest tag under versioning tag on >> mvn deploy., click >> here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5113547&code=Z291dGhhbS52YXNpcmVkZGlAZ21haWwuY29tfDUxMTM1NDd8MTY3OTUzMTU3NQ==> >> . >> NAML<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Unable-to-update-latest-tag-under-versioning-tag-on-mvn-deploy-tp5113547p5113990.html > Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
