Hi,
I am using Maven 2.0 version with Eclipse (3.1.2) as IDE.
I have included the following artifacts in my pom.xml as dependencies.
For jcommon:jar:1.0.0-pre2,
<dependency>
<groupId>jfree</groupId>
<artifactId>jcommon</artifactId>
<version>1.0.0-pre2</version>
</dependency>
For junit:junit:jar:3.7,
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.7</version>
</dependency>
For xstream:xstream:jar:1.1,
<dependency>
<groupId>xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.1</version>
</dependency>
For rome:rome:jar:0.8,
<dependency>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
<version>0.8</version>
</dependency>
But Maven is unable to download these artifacts and the build FAILS.
Also observed that Maven is trying to download from a different URL.
Downloading from http://www.ibiblio.org/maven2/rome/poms/rome-0.8.pom
instead at the URL: http://www.ibiblio.org/maven2/rome/rome/0.8/rome-0.8.pom
Downloading from http://www.ibiblio.org/maven2/xstream/poms/xstream-1.1.pom
instead at the URL:
http://www.ibiblio.org/maven2/xstream/xstream/1.1/xstream-1.1.pom
Downloading from
http://www.ibiblio.org/maven2/jfree/poms/jcommon-1.0.0-pre2.pom instead at
the URL:
http://www.ibiblio.org/maven2/jfree/jcommon/1.0.0-pre2/jcommon-1.0.0-pre2.pom
Downloading from http://www.ibiblio.org/maven2/junit/poms/junit-3.7.pom
instead at the URL: http://www.ibiblio.org/maven2/junit/junit/3.7/
And Maven is downloading junit 3.8 version automatically.
Please let me know what changes need to be done so that specified artifacts
are downloaded into the local Maven repo.
PS: Currently these artifacts are copied manually into the local Maven repo.
Thanks
Pavan.
--
View this message in context:
http://www.nabble.com/Maven-is-unable-to-download-mentioned-artifacts.-tf2145824.html#a5924030
Sent from the Maven - Issues forum at Nabble.com.