Handling Dependencies

2005-03-15 Thread Deblauwe, Wim
>From the new website, under "handling dependencies": Note: the version need only contain the word SNAPSHOT - it does not need to equal it exactly. It is traditional to append it to a version to indicate "development towards version X". For example, 1.2-SNAPSHOT is

RE: Handling Dependencies

2005-03-15 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Wim, > -Original Message- > From: Deblauwe, Wim [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 15, 2005 3:05 PM > To: Maven Users List (E-mail) > Subject: Handling Dependencies > > > From the new website, under "handling dependencies": > &

RE: Handling Dependencies

2005-03-15 Thread Stéphane Nicoll
Jörg, >??? > No, "maven jar:install-snapshot" will create something like > MyModule-20050315.151030.jar. No, it will *also* build a MyModule-SNAPSHOT.jar which is *then* copied to an artifact with a timestamp. The point here is to be able to have a dependency on such artifacts. With a times

RE: Handling Dependencies

2005-03-15 Thread =?iso-8859-1?Q?J=F6rg_Schaible?=
Hi Stéphane, > -Original Message- > From: Stéphane Nicoll [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 15, 2005 3:15 PM > To: Maven Users List > Subject: RE: Handling Dependencies > > > Jörg, > > >??? > > No, "maven jar:install-snap

RE: Handling Dependencies

2005-03-15 Thread =?iso-8859-1?Q?St=E9phane_Nicoll?=
Jörg, > I still don't get, where the problem is. If you wanna have a dependency on > the timestamped version, set the content of the version tag in the POM to the > > timestamp. Well ... I don't want a dependency on a timestamp, that's the whole point. Let me explain. If have a module named A

Re: Handling Dependencies

2005-03-15 Thread Milos Kleint
As a workaround, we set the version to 1.1.5-SNAPSHOT and 2.0.7-SNAPSHOT respectively and we use the jar:install goal. I always considered this a legitimate approach, rather than workaround. the snapshot goals do convert the SNAPSHOT string into a timestamp whcih you rarely want. Milos Stéphane

RE: Handling Dependencies

2005-03-15 Thread =?iso-8859-1?Q?St=E9phane_Nicoll?=
Milos, > I always considered this a legitimate approach, rather than workaround. > the snapshot goals do convert the SNAPSHOT string into a timestamp whcih > you rarely want. Well, if I have my project with current version set to 1.5.0, I would expect the jar:install-snapshot to generate a ABC

Re: Handling Dependencies

2005-03-15 Thread Craig S . Cottingham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mar 15, 2005, at 09:20, Stéphane Nicoll wrote: Milos, I always considered this a legitimate approach, rather than workaround. the snapshot goals do convert the SNAPSHOT string into a timestamp whcih you rarely want. Well, if I have my project with

Re: Handling Dependencies

2005-03-15 Thread Brett Porter
Milos is correct here, and future Maven versions do not have the *-snapshot goals at all. Everything will be done behind the scenes to create the timestamped versions in the repository which you can reference directly, or by looking up the latest with x.x.x-SNAPSHOT. HTH Cheers, Brett On Tue, 1