Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.0.7
-
Fix Version/s: None
-
Component/s: Command Line
-
Labels:None
Description
When a mirror for e.g. central has been set in settings.xml, the default URL of central (http://repo1.maven.org/maven2) is still shown in the console.
In settings.xml:
<mirror>
<!-- Archiva -->
<id>central-mirror</id>
<url>http://trax-data:9999/archiva/repository/internal</url>
<mirrorOf>central</mirrorOf>
</mirror>
Example output:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range [4.1,)
com.trax.platform:trax-coreServer:jar:null
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
Issue Links
- duplicates
-
MNG-1914
Wrong url in error message when using a mirror
-