When you specify that you depend on a snapshot version - those that publish the dependency must publish a snapshot version of it.
So if I publish a project named "arik", you will see several versions of my project at the repository: arik-0.1-SNAPSHOT.jar -> published while I'm developing the 0.1 version arik-0.1.jar -> published when I *finish* developing 0.1 and releasing it to the public arik-0.2-SNAPSHOT.jar -> published when I work on the 0.2 version . . . Back to your question: if you look at the repository (http://www.ibiblio.org/maven2/springframework/spring-core/) you will see that the spring guys have not published snapshots of 1.1.4 - probably because 1.1.4 has been released and there's no point releasing a snapshot for it. There is also no general SNAPSHOT version there (spring-core-SNAPSHOT.jar) - simply because the Spring guys haven't published one. Check with the spring guys if they have setup a different repository for snapshot releases (Apache, for instance, have a seperate snapshots repository - not ibiblio). May I ask why you want to use the core-SNAPSHOT version of spring? On 10/17/05, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > Hello Arik, Thanks for your answer. Here is an example of dependency I want > use, but I don't think it's related to the specific dependency because I > have tried with many and got always same result. Maybe it's the way I use > the SNAPSHOT keyword. > > <dependencies> > <dependency> > <groupId>springframework</groupId> > <artifactId>spring-core</artifactId> > <version>1.1.4-SNAPSHOT</version> > <type>jar</type> > </dependency> > </dependencies> > > ----Original Message Follows---- > From: Arik Kfir <[EMAIL PROTECTED]> > Reply-To: "Maven Users List" <[email protected]> > To: Maven Users List <[email protected]> > Subject: Re: SNAPSHOT Dependency not working for me > Date: Mon, 17 Oct 2005 17:05:36 +0200 > > Could you post the <dependency> you're declaring? > > On 10/17/05, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > > Hello, > > I try to use the SNAPSHOT keyword in a dependeny but I get always an > errop > > message. Maven try to search for an artifact with "SNAPSHOT" in the name > > e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use > > maven 1.1-beta-2 > > > > Thanks for help > > > > Gianfranco > > > > _________________________________________________________________ > > Surlignez tout ce qui vous intéresse en surfant et visualisez vos > > recherches! http://toolbar.fr.msn.ch?DI=1057&XAPID=2083 > > > > > > --------------------------------------------------------------------- > > 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] > > _________________________________________________________________ > Surlignez tout ce qui vous intéresse en surfant et visualisez vos > recherches! http://toolbar.fr.msn.ch?DI=1057&XAPID=2083 > > > --------------------------------------------------------------------- > 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]
