URL for mirror is not printed when a repository query fails
-----------------------------------------------------------

                 Key: MNG-3202
                 URL: http://jira.codehaus.org/browse/MNG-3202
             Project: Maven 2
          Issue Type: Bug
          Components: Command Line
    Affects Versions: 2.0.7
            Reporter: Jo Vandermeeren
            Priority: Minor


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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to