Cannot download plugin snapshots from Apache Snapshots

View: New views
4 Messages — Rating Filter:   Alert me  

Cannot download plugin snapshots from Apache Snapshots

by mathew_pl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: nexus-user-help@...


RE: Cannot download plugin snapshots from Apache Snapshots

by Nord, James-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You could  try the solution I proposed earlier this week.

http://nexus.sonatype.org/mailing-list-user-archives.html#nabble-td18884
701

/James

> -----Original Message-----
> From: mateusz.grzechocinski@...
> [mailto:mateusz.grzechocinski@...] On Behalf Of Mateusz
> Grzechocinski
> Sent: 17 June 2009 08:47
> To: nexus-user@...
> Subject: [nexus-user] Cannot download plugin snapshots from
> Apache Snapshots
>
> 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@...
> For additional commands, e-mail: nexus-user-help@...
>
>

**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@... and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...


Re: Cannot download plugin snapshots from Apache Snapshots

by Rudyolph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Cannot download plugin snapshots from Apache Snapshots

by Brian Fox :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

New installs of Nexus have the updated url since ~1.3.0 but we don't forcefully change the urls of any existing installs, so if your system is older than that, you probably have the old url. 

On Thu, Jun 25, 2009 at 2:51 PM, Rudyolph <rudy.bistrovich@...> wrote:

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@...
> For additional commands, e-mail: nexus-user-help@...
>
>
>

--
View this message in context: http://www.nabble.com/Cannot-download-plugin-snapshots-from-Apache-Snapshots-tp24068605p24209067.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...