Proxy Repositories

CloudRepo provides Proxy Repositories for Maven Repositories in order to prevent your builds from failing if a dependency disappears from a publicly available repository (like Maven Central).

It is rare for an artifact to be removed from Central, but when it does it can be very difficult to recover the exact artifact that you were previously depending on.

CloudRepo proxy repositories will retrieve your dependencies from a downstream maven repository and store a copy in a CloudRepo repository which is fully in your control.

Creating a Proxy Repository

Creating a Proxy Repository is identical to creating a local repository with the addition of selecting which downstream repository you wish to proxy.

_images/proxy-repositories-create.png

Supported Remote Servers

Proxy Repositories require a downstream server to be specified. We have configured a list of the most common public repositories that are users have requested.

Don’t see a remote server that you need? We can add it! Please see the section on Adding Additional Remote Repositories for more information.

Select one of the following repositories to complete the creation of your proxy repository:

Maven Central

URL: https://repo.maven.apache.org/maven2/

Apache Snapshots

URL: https://repository.apache.org/snapshots/

Atlassian

URL: https://maven.atlassian.com/content/repositories/atlassian-public/

Cloudera Repositories

URL: https://repository.cloudera.com/content/groups/cloudera-repos/

Gradle Plugins

URL: https://plugins.gradle.org/m2/

Grails Core

URL: https://repo.grails.org/grails/core/

Hortonworks

URL: https://repo.hortonworks.com/content/repositories/releases/

Jahia

URL: https://maven.jahia.org/maven2/

JasperSoft

URL: https://jaspersoft.artifactoryonline.com/jaspersoft/jaspersoft-repo/

JBoss Public

URL: https://repository.jboss.org/nexus/content/groups/public/

JBoss Releases

URL: https://repository.jboss.org/nexus/content/repositories/releases/

JCenter

URL: https://jcenter.bintray.com/

LifeRay Public

URL: https://repository.liferay.com/nexus/content/repositories/public/

Mulesoft Public

URL: https://repository.mulesoft.org/nexus/content/repositories/public/

Sonatype Releases

URL: https://oss.sonatype.org/content/repositories/releases/

Sonatype Public

URL: https://oss.sonatype.org/content/groups/public/

Spring Lib M

URL: https://repo.spring.io/libs-milestone/

Spring Plugins

URL: https://repo.spring.io/plugins-release/

Adding Additional Remote Repositories

If you don’t see the repository that you need, please let us know and we’ll review and add it within an hour or two of receipt.

Connecting to Proxy Repositories

Uploading to Proxy Repositories

Uploading to proxy repositories via maven clients is not permitted - if you attempt to upload with Maven, the request will be rejected.

However, you can upload files directly through the Admin Portal.

Connecting Maven Clients to Proxy Repositories

Proxy repositories are used and configured just like any other Maven Repository. Please see the Maven Repositories documentation for complete instructions.

Removing Cached Dependencies

Dependencies can be removed from your proxy repositories by deleting them like you would for any other artifact. See deleting files and folders for more information.