Thanks Frank, I added what you suggested to my settings.xml, but the
problem turned out to be that I forgot to add sonatype-oss to the public
group.
I have been caught by that problem in the past, as I recall, and a
better UI would ask you if you wanted to add a newly created remote repo
to public when you created it.
Cheers, Eric
On 4/15/2014 2:19 AM, Frank Mueller wrote:
Do you have anonymous access enabled in you Nexus instance?
You did not have any credentials in your (I assume) settings.xml.
The problem with the apache.org repo might be caused by missing the
Pluginrepo configuration. Maybe try something like the following:
-------------------------[snip]------------------------
<profiles>
<profile>
<id>nexus</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>central</mirrorOf>
<url>https://your.nexus.url/content/groups/public</url>
</mirror>
</mirrors>
-------------------------[snap]------------------------
Regarding the download problems, do you have added the repository to the
public group?`
Best regards
Frank
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>central</mirrorOf>
<url>https://your.nexus.url/content/groups/public</url>
</mirror>
</mirrors>