Nexus-OSS 3.78.0-14
I set up a maven-proxy repo with the following settings:
- Name: mvnrepository-proxy
- Version policy: release
- Layout policy: strict
- Content Disposition: inline
- Remote storage: https://mvnrepository.com/artifact
- Maximum component age: -1
- Maximum metadata age: 1440
Other settings are default. I have then added this reposity to a “Group” repository https://nexus.eng.company.com/repository/company-maven/
However, my Gradle builds, which are set up to use our internal Nexus repo, are failing to see this artifact for example https://mvnrepository.com/artifact/com.google.guava/guava/33.0.0-jre. I don’t see any artifacts in ttps://nexus.eng.company.com/repository/mvnrepository-proxy/
Execution failed for task ':my-microservice:compileJava'.
> Could not resolve all files for configuration ':my-microservice:compileClasspath'.
> Could not resolve com.google.guava:guava:33.0.0-jre.
Repository status says Online - Ready to connect
What am I doing wrong?