You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff MAURY <je...@jeffmaury.com> on 2008/10/08 10:36:47 UTC

LATEST version

Hello,

I'm facing an issue with the LATEST version. I can't make it work. If I
install or deploy a snapshot artifact, and then use this dependency with the
LATEST version identifier, then this dependency is never resolved by Maven.
I was able to make to work for RELEASE with the updateReleaseInfo for non
snapshots artifacts.
It seems that the latest flag must be present in the repository metadata but
I can't find how Maven will generate this info. It is done for Maven plugins
but how to do it for non Maven plugins artifacts ?

Regards
Jeff MAURY

-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal
Mes CDs à récupérer:
http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en

Re: LATEST version

Posted by Brett Porter <br...@gmail.com>.
Well, it's really not intended for that purpose, particularly because
of the reproducibility problems it will incur. However, adding the
plugin metadata goal to your build should do this if you choose that
path.

- Brett

2008/10/8 Jeff MAURY <je...@jeffmaury.com>:
> On Wed, Oct 8, 2008 at 10:39 AM, Brett Porter <br...@gmail.com>wrote:
>
>> This is done specifically for plugins by a special binding in the
>> lifecycle. You'd need to do likewise for your artifacts as they are
>> deployed, or modify the repository metadata.
>
> Is there an existing Maven plugin to do so ?
>
> Jeff MAURY
>
>>
>>
>> - Brett
>>
>> 2008/10/8 Jeff MAURY <je...@jeffmaury.com>:
>> > Hello,
>> >
>> > I'm facing an issue with the LATEST version. I can't make it work. If I
>> > install or deploy a snapshot artifact, and then use this dependency with
>> the
>> > LATEST version identifier, then this dependency is never resolved by
>> Maven.
>> > I was able to make to work for RELEASE with the updateReleaseInfo for non
>> > snapshots artifacts.
>> > It seems that the latest flag must be present in the repository metadata
>> but
>> > I can't find how Maven will generate this info. It is done for Maven
>> plugins
>> > but how to do it for non Maven plugins artifacts ?
>> >
>> > Regards
>> > Jeff MAURY
>> >
>> > --
>> > La mélancolie c'est communiste
>> > Tout le monde y a droit de temps en temps
>> > La mélancolie n'est pas capitaliste
>> > C'est même gratuit pour les perdants
>> > La mélancolie c'est pacifiste
>> > On ne lui rentre jamais dedans
>> > La mélancolie oh tu sais ça existe
>> > Elle se prend même avec des gants
>> > La mélancolie c'est pour les syndicalistes
>> > Il faut juste sa carte de permanent
>> >
>> > Miossec (2006)
>> >
>> > http://www.jeffmaury.com
>> > http://riadiscuss.jeffmaury.com
>> > http://www.lastfm.fr/listen/user/jeffmaury/personal
>> > Mes CDs à récupérer:
>> > http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
>> >
>>
>>
>>
>> --
>> Brett Porter
>> Blog: http://blogs.exist.com/bporter/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
> --
> La mélancolie c'est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n'est pas capitaliste
> C'est même gratuit pour les perdants
> La mélancolie c'est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c'est pour les syndicalistes
> Il faut juste sa carte de permanent
>
> Miossec (2006)
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.lastfm.fr/listen/user/jeffmaury/personal
> Mes CDs à récupérer:
> http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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


Re: LATEST version

Posted by Jeff MAURY <je...@jeffmaury.com>.
On Wed, Oct 8, 2008 at 10:39 AM, Brett Porter <br...@gmail.com>wrote:

> This is done specifically for plugins by a special binding in the
> lifecycle. You'd need to do likewise for your artifacts as they are
> deployed, or modify the repository metadata.

Is there an existing Maven plugin to do so ?

Jeff MAURY

>
>
> - Brett
>
> 2008/10/8 Jeff MAURY <je...@jeffmaury.com>:
> > Hello,
> >
> > I'm facing an issue with the LATEST version. I can't make it work. If I
> > install or deploy a snapshot artifact, and then use this dependency with
> the
> > LATEST version identifier, then this dependency is never resolved by
> Maven.
> > I was able to make to work for RELEASE with the updateReleaseInfo for non
> > snapshots artifacts.
> > It seems that the latest flag must be present in the repository metadata
> but
> > I can't find how Maven will generate this info. It is done for Maven
> plugins
> > but how to do it for non Maven plugins artifacts ?
> >
> > Regards
> > Jeff MAURY
> >
> > --
> > La mélancolie c'est communiste
> > Tout le monde y a droit de temps en temps
> > La mélancolie n'est pas capitaliste
> > C'est même gratuit pour les perdants
> > La mélancolie c'est pacifiste
> > On ne lui rentre jamais dedans
> > La mélancolie oh tu sais ça existe
> > Elle se prend même avec des gants
> > La mélancolie c'est pour les syndicalistes
> > Il faut juste sa carte de permanent
> >
> > Miossec (2006)
> >
> > http://www.jeffmaury.com
> > http://riadiscuss.jeffmaury.com
> > http://www.lastfm.fr/listen/user/jeffmaury/personal
> > Mes CDs à récupérer:
> > http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
> >
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.lastfm.fr/listen/user/jeffmaury/personal
Mes CDs à récupérer:
http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en

Re: LATEST version

Posted by Brett Porter <br...@gmail.com>.
This is done specifically for plugins by a special binding in the
lifecycle. You'd need to do likewise for your artifacts as they are
deployed, or modify the repository metadata.

- Brett

2008/10/8 Jeff MAURY <je...@jeffmaury.com>:
> Hello,
>
> I'm facing an issue with the LATEST version. I can't make it work. If I
> install or deploy a snapshot artifact, and then use this dependency with the
> LATEST version identifier, then this dependency is never resolved by Maven.
> I was able to make to work for RELEASE with the updateReleaseInfo for non
> snapshots artifacts.
> It seems that the latest flag must be present in the repository metadata but
> I can't find how Maven will generate this info. It is done for Maven plugins
> but how to do it for non Maven plugins artifacts ?
>
> Regards
> Jeff MAURY
>
> --
> La mélancolie c'est communiste
> Tout le monde y a droit de temps en temps
> La mélancolie n'est pas capitaliste
> C'est même gratuit pour les perdants
> La mélancolie c'est pacifiste
> On ne lui rentre jamais dedans
> La mélancolie oh tu sais ça existe
> Elle se prend même avec des gants
> La mélancolie c'est pour les syndicalistes
> Il faut juste sa carte de permanent
>
> Miossec (2006)
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.lastfm.fr/listen/user/jeffmaury/personal
> Mes CDs à récupérer:
> http://spreadsheets.google.com/ccc?key=pNeg4Doa_oCsh7CepKPaPTA&hl=en
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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


Re: LATEST version

Posted by Sudhakar Kanagarajan <s....@gmail.com>.
Do someone know the solution for this? I am facing the same issue where I was
able to work for RELEASE but LATEST version identifier is not working.

-- 
View this message in context: http://www.nabble.com/LATEST-version-tp19874662p22963778.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