# Maven repository proxy not caching artifacts?

## post by zillag on Sep 4, 2025

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](https://mvnrepository.com/artifact)
- Maximum component age: -1
- Maximum metadata age: 1440

Other settings are default. I have then added this repository to a “Group” repository [https://nexus.eng.company.com/repository/company-maven/](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](https://mvnrepository.com/artifact/com.google.guava/guava/33.0.0-jre). I don’t see any artifacts in [https://nexus.eng.company.com/repository/mvnrepository-proxy/](https://nexus.eng.company.com/repository/mvnrepository-proxy/)

```rust
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?
