Hi Martin, for me the SNAPSHOT idea of Maven seems to be not completely mature. E.g. if you look at the project.xml of Maven itself (e.g. here: http://cvs.apache.org/viewcvs.cgi/maven/project.xml?rev=1.317.4.12&view=mark up) you'll find that their current version is named 1.0-rc2-SNAPSHOT. When setting up our projects I used the Maven project as a kind of copy-paste template.
Cheers, Joern > -----Urspr�ngliche Nachricht----- > Von: Martin Lambert [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 3. M�rz 2004 13:06 > An: Maven Users List > Betreff: RE: Download of SNAPSHOT-Plugins > > > Hi Joern, > > Glad I helped solve that problem. > > I am under the impression though that 'SNAPSHOT' in Maven is > the latest development version. Fixed version numbers I > believe are meant to represent stable versions of code. You > appear to be muddying the waters with your versioning > numbering system. > > Cheers, > > Martin. > > -----Original Message----- > From: J�rn Gebhardt [mailto:[EMAIL PROTECTED] > Sent: 03 March 2004 11:52 > To: Maven Users List > Subject: AW: Download of SNAPSHOT-Plugins > > > Hi Martin, > > '1.2-SNAPSHOT' means that it is the version 1.2 of the plugin > that is still > in development and changes until version 1.2 is released. And > I wanted to > use > > maven plugin:download -DartifactId=my-plugin -DgroupId=my-plugins > -Dversion=1.2-SNAPSHOT > > to download the latest version of the nightly build of that > maven plugin. > > But anyway, you helped me out with another problem I had with > the versioning > of Maven plugins that are used to build an artifact. Until now I had a > proplem with building older versions of our project (e.g. for > bug-fixing > branches). The source-code, project.xml etc. was revisioned > in CVS, however > the versions of the plugins that were used to build the project are > mentioned nowhere. I.e. if you install a newer version of a > plugin on your > computer it might screw up the original build. However, if > you explicitely > write down in the project.xml the dependencies to the plugins > you are using, > you can reproduce your revisioned project. > > Joern > > > -----Urspr�ngliche Nachricht----- > > Von: Martin Lambert [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 3. M�rz 2004 12:03 > > An: Maven Users List > > Betreff: RE: Download of SNAPSHOT-Plugins > > > > > > Hi, > > > > I'm not sure what you're on about with 1.2-SNAPSHOT, my > > understanding is you either have 'SNAPSHOT' which will always > > pull down the latest version or a fixed version number which > > I guess Maven would see '1.2-SNAPSHOT' as. > > > > Try this in the project.xml of a project that needs to use > the plugin: > > > > > > <dependency> > > <groupId>my-plugins</groupId> > > <artifactId>my-plugin</artifactId> > > <version>SNAPSHOT</version> > > <type>PLUGIN</type> > > </dependency> > > > > Hope this helps, > > > > Martin. > > > > -----Original Message----- > > From: J�rn Gebhardt [mailto:[EMAIL PROTECTED] > > Sent: 03 March 2004 10:56 > > To: Maven Users List > > Subject: Download of SNAPSHOT-Plugins > > > > > > Hi, > > > > by reading the Jelly script of the Plugin Plugin I figured > > out that if you > > want to downlaod the current version of a plugin like this: > > > > maven plugin:download -DartifactId=my-plugin -DgroupId=my-plugins > > -Dversion=1.2-SNAPSHOT > > > > and you already have a 1.2-SNAPSHOT version on your disk, it > > doesn't update > > it with a newer version. As this is oky for non SNAPSHOT > > versions, I would > > expect to SNAPSHOT behaviour for SNAPSHOT versions. > > Is there any other elegant way to download and install the > > latest version of > > a plugin with a SNAPSHOT version? > > > > Joern > > > > > --------------------------------------------------------------------- > > 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] >
