You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jeff Peterson (JIRA)" <ji...@codehaus.org> on 2009/07/04 18:34:22 UTC

[jira] Created: (MDEP-217) go-offline does not follow relocation

go-offline does not follow relocation
-------------------------------------

                 Key: MDEP-217
                 URL: http://jira.codehaus.org/browse/MDEP-217
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: go-offline
    Affects Versions: 2.0
         Environment: Maven 2.1.0
            Reporter: Jeff Peterson
            Assignee: Brian Fox


{noformat}
[INFO] Preparing dependency:go-offline
[INFO] [dependency:resolve-plugins]
[INFO] Plugin Resolved: xmlbeans-maven-plugin-2.3.0.jar
Downloading: http://repo1.maven.org/maven2/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
[INFO] Unable to find resource 'xmlbeans:xmlbeans:jar:2.3.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Nested:

Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
    mvn install:install-file -DgroupId=xmlbeans -DartifactId=xmlbeans -Dversion=2.3.0 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
    mvn deploy:deploy-file -DgroupId=xmlbeans -DartifactId=xmlbeans -Dversion=2.3.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  xmlbeans:xmlbeans:jar:2.3.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
{noformat}

{noformat}
xmlbeans-2.3.0.pom 
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>xmlbeans</groupId>
  <artifactId>xmlbeans</artifactId>
  <version>2.3.0</version>
  <distributionManagement>
    <relocation>
      <groupId>org.apache.xmlbeans</groupId>
    </relocation>
  </distributionManagement>
</project>
{noformat}



-- 
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