Problem description: Inconsistent resolution through Virtual repositories via REST API “Trace Artifact Retrieval” endpoint
The inconsistency disrupts scripts/plugins that rely on it to automate processes for all artifacts.
Steps to reproduce:
- Create a remote Maven repository (ext-maven-maven-central) pointing to Maven Central (https://repo1.maven.org/maven2/) with eager fetching of sources and jars enabled
- Create a Virtual repository (ext-maven) which aggregates the remote repository created above
- Perform trace requests to the Virtual repository:
In the trace output for both requests - “Target repository is not remote or doesn’t store locally” should be equal to “false”
In the trace output for 3.1 - “Target repository is not remote or doesn’t store locally” equals “true”