I ran into the same thing. Here is the solution (this being said, I got
around the problem with not being able to download the snapshot and got
into a situation where I can't build anything at all because of some
problem. I do not know how it is related to this change, it may be 100%
unrelated)
This solution came from the community with some modifications based on
the DTD like thing:
http://maven.apache.org/maven-v4_0_0.xsd
<pluginRepositories>
<pluginRepository>
<id>snapshots-plugins</id>
<name>Maven Snapshot Plugins Development Repository</name>
<url>http://snapshots.maven.codehaus.org/maven2/plugins</url>
<snapshotPolicy>always</snapshotPolicy
</pluginRepository>
</pluginRepositories>
By defining the plugin repository and allowing snapshots to be
downloaded, you will get passed the 'Unable to download' as that means,
I can find the snapshot, but am not permitted due to a policy issue (in
this case) to obtain it.
Good luck, hope this helps.
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andy Glick
Sent: Monday, August 29, 2005 3:14 AM
To: [email protected]
Subject: [M2] Problem building repoclean
I've been having difficulty building repoclean for a number of days, and
I get the same error message every time:
[INFO]
------------------------------------------------------------------------
-
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
-
[INFO] Main Error:
Unable to download the artifact from any repository
org.apache.maven:maven-model:2.0-beta-1-20050721.102753-1:jar
from the specified remote repositories:
http://repo1.maven.org/maven2,
http://snapshots.maven.codehaus.org/maven2/
Path to dependency:
1) org.apache.maven:repoclean:jar:1.0-SNAPSHOT
2) org.apache.maven:maven-model:jar:all:2.0-beta-1-SNAPSHOT
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]