Ok, I see your point. It's not how I was reading the sentence, as it's: "Maven always does this thing. There is an exception to that rule which is this..."
Anyway, I'm currently revamping the documentation, so it'll get addressed. - Brett On Wed, 17 Nov 2004 19:57:02 -0500, Courtney, Craig <[EMAIL PROTECTED]> wrote: > Well which is it? The way the user guide reads maven always downloads > SNAPSHOT regardless if the local one is younger (compiled more recently > therefore younger in age) and in order to prevent this you must build > offline. This is in direct conflict with your second sentence that if the > local snapshots are newer (compiled more recently therefore younger in age) > they are not downloaded. > > Craig > > > > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 17, 2004 7:43 PM > To: Maven Users List > Subject: Re: How should I use SNAPSHOT? > > The documentation (typos included) is correct. If the the snapshots > locally are newer, they are not downloaded. > > - Brett > > On Wed, 17 Nov 2004 19:35:59 -0500, Courtney, Craig > <[EMAIL PROTECTED]> wrote: > > Also this is pulled straight from the users guide (typos included) under > > the Building Offline section. > > > > "In online mode, maven always downloads SNAPSHOT dependencies, see Using > > SNAPSHOT Dependencies. If the snapshots in your local repository are > > younger than the ones on the server, you propably don't want that maven > > overwrites you local snapshot jars." > > > > If that is truly not the case it should be fixed in the documentation ASAP. > > > > > > > > Craig > > > > -----Original Message----- > > From: Glenn, Paul [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 17, 2004 5:34 PM > > To: Maven Users List > > Subject: RE: How should I use SNAPSHOT? > > > > It only pulls from the remote repository if the timestamp of the > > remote repository is more recent than the timestamp of the local > > repository. Useful when the build server builds a new version of > > your lib. > > > > If you had built it more recently than the server (remote repo), > > then it'll use your local repository. > > > > Paul > > > > -----Original Message----- > > From: Courtney, Craig [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 17, 2004 5:31 PM > > To: Maven Users List > > Subject: RE: How should I use SNAPSHOT? > > > > I believe SNAPSHOT always pull from the remote repository. If you want > > build B to use the local SNAPSHOT of A you have to build B with the -o flag > > to turn off the remote repository. > > > > Craig > > > > -----Original Message----- > > From: Helck, Christopher [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 17, 2004 12:55 PM > > To: Maven Users List > > Subject: How should I use SNAPSHOT? > > > > I thought I understood snapshots, but a recent email has confused me all > > over again :-). > > > > The post suggested that if I have two projects A and B then I could set > > A's POM to have > > <currentVersion>1.0-SNAPSHOT</currencyVersion> > > > > And that B should depend on A with > > <dependency> > > <artifactId>A</artifactId> > > <version>1.0-SNAPSHOT</version> > > </dependency> > > > > When I try this A gets install in my local repository as A-SNAPSHOT.jar, > > and B's build fails because it can't fine A-1.0-SNAPSHOT.jar. > > Am I doing something wrong? Is this a real feature? Or is it tied to the > > SCM plugin? In any case I wish it worked this way... > > > > Thanks. > > C. Helck > > > > The information contained in this e-mail is confidential. This e-mail is > > intended only for the stated addressee. If you are not an addressee, you > > must not disclose, copy, circulate or in any other way use or rely on the > > information contained in this e-mail. if you have received this e-mail in > > error, please inform us immediately and delete it and all copies from your > > system. > > > > EBS Dealing Resources International Limited. Registered address: 10 > > Paternoster Square, London EC4M 7DY, United Kingdom. Registered number > > 2669861. > > > > EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison > > Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, > > Building F - Floor 3, Parsippany, NJ 07054, USA. > > > > EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: > > Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku, Tokyo > > 104-0033, Japan. > > > > --------------------------------------------------------------------- > > 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] > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- > 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]
