Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-217

go-offline does not follow relocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.0
    • None
    • go-offline
    • None
    • Maven 2.1.0

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpeterson Jeff Peterson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: