Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Created: (MNG-1914) Wrong error message when using a mirror

    0 answers - 2110 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Wrong error message when using a mirror
    Key: MNG-1914
    URL:
    Project: Maven 2
    Type: Bug
    Versions: 2.0.1
    Reporter: Vincent Massol
    I had the following in my settings.xml:
    <settings>
    []
    <mirrors>
    <mirror>
    <id>cargo m2 release repository</id>
    <url></url>
    <>central</>
    </mirror>
    </mirrors>
    <profiles>
    <profile>
    <id>staging-repo</id>
    <repositories>
    <repository>
    <id>central</id>
    <name>staging repo</name>
    <url></url>
    <releases>
    <enabled>true</enabled>
    </releases>
    <snapshots>
    <enabled>true</enabled>
    </snapshots>
    </repository>
    </repositories>
    <pluginRepositories>
    <pluginRepository>
    <id>central</id>
    <name>staging repo</name>
    <url></url>
    <releases>
    <enabled>true</enabled>
    </releases>
    <snapshots>
    <enabled>true</enabled>
    </snapshots>
    </pluginRepository>
    </pluginRepositories>
    </profile>
    </profiles>
    <activeProfiles>
    <activeProfile>staging-repo</activeProfile>
    </activeProfiles>
    []
    </settings>
    When building any project I was getting the following console trace:
    []
    Downloading:
    [WARNING] Unable to get resource from repository central ()
    [INF]
    [ERRR] BUILD ERRR
    [INF]
    [INF] Failed to resolve artifact.
    GroupId: org.apache.maven.plugins
    ArtifactId: maven-plugin-parent
    Version: 2.0
    Reason: Unable to download the artifact from any repository
    from the specified remote repositories:
    central ()
    As you can see it says that it cannot get the pom from the test.maven.codehaus.org repository whereas it's actually looking in cargo.codehaus.org The message needs to be fixed.

Re: Created: (MNG-1914) Wrong error message when using a mirror


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Java"

EMSDN.COM