You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Dirk Sturzebecher (Privat)" <d....@freenet.de> on 2004/08/18 09:48:25 UTC
Dependency Bug/Feature
Hi,
I got in my project.xml
<dependency>
<groupId>facts</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
<type>jar</type>
<properties/>
</dependency>
and in my build.properties
maven.jar.commons-logging =
${basedir}/lib/${logging}/commons-logging-1.0.3.jar
the result is
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:
??? Why does it try to download it ??? And why does it fail ???
If I change the <artifactId> to some other string and change my
build.properties accordingly (e.g., "commons-loggingX") it works as
expected!
Bye,
Dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org