# How to set-up Nexus3 to stop Maven from attempting to check for internal SNAPSHOTS from remote repository 'repository.apache.org/snapshots'

**URL:** https://community.sonatype.com/t/how-to-set-up-nexus3-to-stop-maven-from-attempting-to-check-for-internal-snapshots-from-remote-repository-repository-apache-org-snapshots/4347
**Category:** Sonatype Nexus Repository
**Tags:** help
**Created:** [June 2, 2020, 11:24pm UTC](https://community.sonatype.com/t/how-to-set-up-nexus3-to-stop-maven-from-attempting-to-check-for-internal-snapshots-from-remote-repository-repository-apache-org-snapshots/4347 "2020-06-02T23:24:43Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![drodnexus](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@drodnexus](https://community.sonatype.com/u/drodnexus)
#### Post date: [June 2, 2020, 11:24pm UTC](https://community.sonatype.com/t/how-to-set-up-nexus3-to-stop-maven-from-attempting-to-check-for-internal-snapshots-from-remote-repository-repository-apache-org-snapshots/4347/1 "2020-06-02T23:24:43Z")

</div>

We have maven builds that use plugin “maven-antrun-plugin-1.8”. When the maven-antrun-pluglin task is executed it first checks the external apache snapshot repository " [repository.apache.org/snapshots](http://repository.apache.org/snapshots)]" for internal artifacts then checks our internal nexus3 repository “[repository.company.com](http://repository.company.com)” for the same **internal** artifact.

Problem occurs when the external apache repository is not available the build times out with status code “503”.

Is it possible to configure nexus to stop attempting to download internal artifacts from an external repository?

---

_[View the full topic](https://community.sonatype.com/t/how-to-set-up-nexus3-to-stop-maven-from-attempting-to-check-for-internal-snapshots-from-remote-repository-repository-apache-org-snapshots/4347)._
