There is a bug with jar overrides - they don't work if the artifactId
has an '-' in it. Searching the archive and JIRA before posting would
have revealed this. Patches welcome.
- Brett
On Wed, 18 Aug 2004 18:19:34 +1000, Dion Gillard <[EMAIL PROTECTED]> wrote:
> On Wed, 18 Aug 2004 09:48:25 +0200, Dirk Sturzebecher (Privat)
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I got in my project.xml
> >
> > <dependency>
> > <groupId>facts</groupId>
>
> Note the groupId.
>
> > <artifactId>commons-logging</artifactId>
> > <version>1.0.3</version>
> > <type>jar</type>
> > <properties/>
> > </dependency>
> [snip]
> > maven.jar.commons-logging =
> > ${basedir}/lib/${logging}/commons-logging-1.0.3.jar
> [snip]
> > Attempting to download commons-logging-1.0.3.jar.
> > Error retrieving artifact from
> > [http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.0.3.jar
> > ]: java.net.UnknownHostException: www.ibiblio.org
> > WARNING: Failed to download commons-logging-1.0.3.jar.
> > The build cannot continue because of the following unsatisfied dependency:
>
> It's looking for a dependency with groupId == commons-logging. Are you
> sure you don't have that as well?
>
> > ??? Why does it try to download it ??? And why does it fail ???
>
> Maven will download dependencies that aren't in the local repo. It has
> failed because it can't find www.ibiblio.org. You're not behind a
> proxy are you?
>
> --
> http://www.multitask.com.au/people/dion/
>
>
>
> ---------------------------------------------------------------------
> 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]