Ok, so I've got to build my snapshots with version = ${version}-SNAPSHOT.
I'm using jar:deploy-snapshot goal to build my snaphots, but this goal doesn't add
version before "SNAPSHOT". How can I
do this ?
I suggest Maven developpers to update user guide for this, as snapshot usage is
documented in "Using SNAPSHOT
Dependencies" as :
<version>SNAPSHOT</version>
and "Resolving SNAPSHOT Dependencies" take for example converting
foo-SNAPSHOT.jar to foo-20030101.010101.jar
Thanks for help,
Nico.
----- Original Message -----
From: "Emmanuel Venisse" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 21, 2003 6:31 PM
Subject: Re:maven convert-snapshots
Hi Nicolas,
Actually, snapshot converter use a full snapshot version number like
this : 2.0-SNAPSHOT.
We consider that version = SNAPSHOT isn't a snapshot version.
I think we'll correct this point in the next plugin release.
You can add an issue in jira for keep a trace of your request.
Emmanuel
-----Message d'origine-----
De: "Nicolas De Loof" <[EMAIL PROTECTED]>
A: "Maven Users List" <[EMAIL PROTECTED]>
Date: 21/10/03
Objet: maven convert-snapshots
Hi all,
I'm using maven 1.0-RC1 on windows. I'm trying to use maven
convert-snapshots goal.
On my remote repository, I've got SNAPSHOT jars with timestamped version
and
${artifact}-snapshot-version text file, with correct timestamp inside
it.
when I use "maven convert-snapshots", maven ask for dependency updates
but here is what I get :
convert-snapshots:
<dependency>
<groupId>cgey-commons</groupId>
<artifactId>cgey-commons-configuration</artifactId>
<version>SNAPSHOT</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency> [echo]
<dependency>
<groupId>cgey-commons</groupId>
<artifactId>cgey-commons-configuration</artifactId>
<version>SNAPSHOT</version>
<type>jar</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency> [echo]
Do you want to update this dependency? [yes]
As you can see, maven did not update jar version with it's timestamp.
What to do ?
Nico.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France
_____________________________________________________________________
Un mot doux � envoyer? Une sortie cin� � organiser? Faites le en temps
r�el avec MSN Messenger! C'est gratuit! http://ifrance.com/_reloc/m
_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]