jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-3202

URL for mirror is not printed when a repository query fails

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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

Bug - A problem which impairs or prevents the functions of the product. MNG-1914 Wrong url in error message when using a mirror

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Brian Fox
    Reporter:
    Jo Vandermeeren
Vote (0)
Watch (0)

Dates

  • Created:
    11/Sep/07 7:12 AM
    Updated:
    22/Oct/07 8:51 PM
    Resolved:
    22/Oct/07 8:51 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.