maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachin Bansal <sban...@adobe.com>
Subject RE: changing to SNAPSHOT version does not work either
Date Thu, 28 Oct 2004 18:09:10 GMT
Hi Craig,

 I tried that too! But now maven is unhappy about the word SNAPSHOT. 

it gives the error "fileNotFoundException: com.abc.def.B-SNAPSHOT.jar not
found".

I wish I was close.

Sachin

-----Original Message-----
From: Craig S. Cottingham [mailto:craig@cottingham.net] 
Sent: Thursday, October 28, 2004 10:58 AM
To: Maven Users List
Subject: Re: changing to SNAPSHOT version does not work either

On Oct 28, 2004, at 12:56, Sachin Bansal wrote:

>  I did just what you suggested, i.e. changed the version to SNAPSHOT
> version, but not it gives the error "fileNotFoundException:
> com.abc.def.B-1.0-SNAPSHOT.jar not found".
>
>         <dependency>
>             <groupId>myProject</groupId>
>             <artifactId>com.abc.def.B</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>         </dependency>
>
>         <dependency>
>             <groupId>myProject</groupId>
>             <artifactId>com.abc.def.C</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>         </dependency>
>
>         <dependency>
>             <groupId>myProject</groupId>
>             <artifactId>com.abc.def.D</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>         </dependency>
>
>  I wonder where I am wrong.

Close. You should instead try "SNAPSHOT" instead of "1.0-SNAPSHOT" for 
the version:

         <dependency>
             <groupId>myProject</groupId>
             <artifactId>com.abc.def.B</artifactId>
             <version>SNAPSHOT</version>
         </dependency>

--
Craig S. Cottingham
craig@cottingham.net
OpenPGP key available from:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C


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


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


Mime
View raw message