Make sure your Apache Snapshot repository is configured to go to "
http://repository.apache.org/snapshots" instead of "
http://people.apache.org/repo/m2-snapshot-repository"
Apache is no longer putting snapshots in the people.apache.org repo and everything from there is aggregated to the new url.
After you make the change you shouldn't have any problems downloading the 2.5-SNAPSHOT.
--Rudy
mathew_pl wrote:
Hi,
I have a problem with maven plugins (i.e. maven-surefire-plugin,
maven-site-plugin). Maven (2.0.9, 2.1) tries to update plugins version
when starting to build my project.
For example, latest release version of maven-surefire-plugin is 2.4.3.
Maven tries to download and use 2.5-SNAPSHOT. Both are in my Nexus
repository and are cached, but the first is cached from Central while
the second from Apache Snapshots. Both of this repositories are in my
public group which Maven goes to for remote artifacts. Unfortunately,
Maven can't download 2.5-SNAPSHOT and my build fails.
What I've noticed is log in 'Broken files' Nexus feed:
The file 'repository-metadata.xml' in repository 'Apache Snapshots'
with path '/.meta/repository-metadata.xml' was proxied, and the remote
repository contains wrong checksum for it. Details: Warning, the
artifact /.meta/repository-metadata.xml has no remote checksum in
repository apache-snapshots!
It seems that Nexus doesn't allow to downlaod any artifact through
Apache Snapshots.
Of course, when I specify previous plugin version manually in my
pom.xml, everything works fine:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0</version>
</plugin>
Could you help me?
Thanks in advance,
Matthew
---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
For additional commands, e-mail: nexus-user-help@sonatype.org