maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: Dependency Bug/Feature
Date Wed, 18 Aug 2004 23:28:45 GMT
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 <dion.gillard@gmail.com> wrote:
> On Wed, 18 Aug 2004 09:48:25 +0200, Dirk Sturzebecher (Privat)
> <d.sturzebecher@freenet.de> 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: 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