Use Multiple P2 Remote Repositories with the Same Base URL

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

When using P2-enabled repositories with multiple remote repositories that have the same base URL (e.g ) , you need to ensure that only 1 remote repository is created within your virtual repository (for each base URL). When creating your virtual repository, Artifactory takes care of this for you, but if you are creating the remote repositories manually, you must ensure to create only a single remote repository, and point the sub-paths accordingly in the P2 virtual repository definition.

In the example below, and were both added to the same virtual repository...repository.


...but in fact, the virtual repository only really includes one remote repository