You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by goutham <go...@gmail.com> on 2012/01/01 21:38:31 UTC

Unable to update latest tag under versioning tag on mvn deploy.

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Unable to update latest tag under versioning tag on mvn deploy.

Posted by goutham <go...@gmail.com>.
Yes , i want the "latest" tag of metadata to point the latest version being
deployed but its not happening .

On Mon, Jan 2, 2012 at 1:04 PM, Anders Hammar [via Maven] <
ml-node+s40175n5114210h4@n5.nabble.com> wrote:

> 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 <[hidden email]<http://user/SendEmail.jtp?type=node&node=5114210&i=0>>
> 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] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5114210&i=1>>
> 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<
>
> >> .
> >> 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: [hidden email]<http://user/SendEmail.jtp?type=node&node=5114210&i=2>
> For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=5114210&i=3>
>
>
>
> ------------------------------
>  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-tp5113547p5114210.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-tp5113547p5114496.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Unable to update latest tag under versioning tag on mvn deploy.

Posted by Anders Hammar <an...@hammar.net>.
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 <go...@gmail.com> 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] <
> ml-node+s40175n5113612h66@n5.nabble.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Unable to update latest tag under versioning tag on mvn deploy.

Posted by goutham <go...@gmail.com>.
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] <
ml-node+s40175n5113612h66@n5.nabble.com> 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.

Re: Unable to update latest tag under versioning tag on mvn deploy.

Posted by Anders Hammar <an...@hammar.net>.
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 <go...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org