# Maven repository proxy not caching artifacts?

**URL:** <https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519>\
**Category:** Sonatype Nexus Repository\
**Created:** [September 4, 2025, 4:12pm UTC](https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519 "2025-09-04T16:12:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zillag](https://avatars.discourse-cdn.com/v4/letter/z/ed655f/32.png) [@zillag](https://community.sonatype.com/u/zillag)\
**Post date:** [September 4, 2025, 4:12pm UTC](https://community.sonatype.com/t/maven-repository-proxy-not-caching-artifacts/15519/1 "2025-09-04T16:12:11Z")

</div>

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 reposity 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 ttps://nexus.eng.company.com/repository/mvnrepository-proxy/

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