I have nexus 1.5.0 setup to proxy springsource repositories but it's not working. The repositories are on s3 that nexus doesn't seem to understand how to deal with that.
What's the right pattern?
Here are the repositories I'm told I need, but I cannot access the maven paths with in them
http://repository.springsource.com/maven/bundles/release http://repository.springsource.com/maven/bundles/external
Do, I need to mirror these locally?
According to NEXUS-1121, your version of Nexus knows how to deal with S3 based repositories. Below, Eugene's comment:
Here is Nexus setup that works for me:
- Configured "proxy" repository for http://repository.springsource.com/maven/bundles/release
- Configured "proxy" repository for http://repository.springsource.com/maven/bundles/external
- Added both of those repositories into default "Public Repositories" group
After that I am able to download artifacts from those repositories as if they are in Maven Central repository.
The only issue is that you can only search trough artifacts that been proxied, because there is no Nexus index published on those repositories. It should be easy to publish index and instructions for using standalone indexer can be found at http://docs.codehaus.org/display/M2ECLIPSE/Nexus+Indexer#NexusIndexer-indexer
It works for me with this configuration and with another repository.
I have a Sonatype Nexus repository version 1.9.1.1. I wanted to configure the repositories to download artifacts from http://maven.springframework.org/milestone/.
I have created a new proxy repository with this configuration:
id: repository.springframework.maven.milestone Name: Spring Maven Milestone Repository Rep. Type: proxy Provider: Maven2 Format: Maven2 Rep Policy: Release Remote storage: http://maven.springframework.org/milestone/ Down. Remote indexes: false Auto blocking: true File validation: False Checksum: warm.
I saved the data and the repository was created.
The strange thing is that when i try to use the "browse Remote" tab I can't list anything.
Important: After that I clicked on Public Repositories / Configuration and added the Spring Maven Milestone Repository to the ordered group repositories.
And finally, I wrote the dependency in my POM archive:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>1.0.0.RC1</version>
</dependency>
And it was downloaded without problems.
I hope it will be useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With