Adding a Maven repository from one Artifactory as a remote repository in another Artifactory will not allow packages to be pulled if the package version is in the following format in the pom.xml:
Maven will produce package with following name:
When an attempt is made to pull this package through the remote on the second Artifactory the request will replace the first "-SNAPSHOT" with the snapshot number as well and the request will receive a 404.
Package requested from remote source:
When viewing remote repository contents on the second Artifactory the name displays correctly but cannot be downloaded due to the incorrect request.
What is the expected behavior?
Able to use one Artifactory as a remote source for another and able to download Maven artifacts.
Steps to reproduce:
1. Build Maven project with <version> containing "-SNAPSHOT" twice and publish to Artifactory
2. Set the local libs-snapshot repo as a remote repo in another Artifactory
3. Attempt to download any of the build artifacts through the remote
Push replicating the repository to the second Artifactory