You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Moretti, Luciano (MED)" <Lu...@med.ge.com> on 2003/06/19 15:28:15 UTC

Using Snapshot Dependencies

Hello-

I'm wondering if I'm misreading the documentation on snapshot
dependencies-

I have the following in my project.xml file-

<dependency>
   <groupId>JXTA</groupId>
   <artifactId>jxta</artifactId>
   <version>SNAPSHOT</version>
</dependency>

To my understanding from reading the documentation this should pull the
"Latest Version" from the repository.  I get the response though-

WARNING: Failed to download jxta-SNAPSHOT.jar
The build cannot continue because of the following unsatisfied
dependency:
jxta-SNAPSHOT.jar

So it looks like it's trying to pull down a file named jxta-SNAPSHOT.jar
instead of pulling down the latest version (jxta-2.1.jar)

Am I doing something wrong? Can someone explain to me better how the
snapshot functionality is supposed to work?

Luciano Moretti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using Snapshot Dependencies

Posted by Jason van Zyl <ja...@zenplex.com>.
On Thu, 2003-06-19 at 09:28, Moretti, Luciano (MED) wrote:
> Hello-
> 
> I'm wondering if I'm misreading the documentation on snapshot
> dependencies-
> 
> I have the following in my project.xml file-
> 
> <dependency>
>    <groupId>JXTA</groupId>
>    <artifactId>jxta</artifactId>
>    <version>SNAPSHOT</version>
> </dependency>
> 
> To my understanding from reading the documentation this should pull the
> "Latest Version" from the repository.  I get the response though-
> 
> WARNING: Failed to download jxta-SNAPSHOT.jar
> The build cannot continue because of the following unsatisfied
> dependency:
> jxta-SNAPSHOT.jar
> 
> So it looks like it's trying to pull down a file named jxta-SNAPSHOT.jar
> instead of pulling down the latest version (jxta-2.1.jar)
> 
> Am I doing something wrong? Can someone explain to me better how the
> snapshot functionality is supposed to work?

The latest snapshot, not the latest released version. A snapshot is
_not_ a released version. A snapshot is the closest thing to a build
with the latest sources. Specify the latest released version if that's
what you want.

> Luciano Moretti
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org