How about this?
<!-- A -->
<dependency>
<groupId>org.apache.tools.ant</groupId>
<artifactId>ant</artifactId>
<version>1.4.1</version>
</dependency>
<!-- B -->
<dependency>
<groupId>org.apache.tools.ant</groupId>
<artifactId>ant-optional</artifactId>
<version>1.4.1</version>
</dependency>
-----Original Message-----
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 4:28 PM
To: Maven Users List
Subject: Re: documentation out of date...
On Thursday 18 Sep 2003 21:10, Ciramella, EJ wrote:
> Like I have said in an earlier help doc, I'm using the latest (B10)
version
> of maven, the online documentation says I can do this:
> <dependency>
> <id>commons-jelly</id>
> <version>SNAPSHOT</version>
> </dependency>
>
> but when I try:
>
> <dependency>
> <id>castor</id>
> <version>SNAPSHOT</version>
> </dependency>
>
> I get the following error:
>
> Attempting to download castor-SNAPSHOT.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/castor/jars/castor-SNAPSHOT.jar]:
That is correct behaviour. The commons-jelly-SNAPSHOT.jar exists on Ibiblio,
whereas the castor-SNAPSHOT.jar does NOT exist, so Maven is behaving
correctly. Go to
http://www.ibiblio.org/maven/castor/jars and have a look
You can retrieve a SNAPSHOT jar IF ONE EXISTS in the repository.
--
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]