You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/12 21:12:45 UTC
[jira] [Closed] (MDEP-217) go-offline does not follow relocation
[ https://issues.apache.org/jira/browse/MDEP-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MDEP-217.
-------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> go-offline does not follow relocation
> -------------------------------------
>
> Key: MDEP-217
> URL: https://issues.apache.org/jira/browse/MDEP-217
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: go-offline
> Affects Versions: 2.0
> Environment: Maven 2.1.0
> Reporter: Jeff Peterson
>
> {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 was sent by Atlassian JIRA
(v6.3.4#6332)