[ 
http://jira.codehaus.org/browse/MDEP-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117249
 ] 

Brian Fox commented on MDEP-126:
--------------------------------

Yes, go-offline needs some work. It also doesn't find the plugins brought in by 
the standard lifecycle bindings. I have recently written code for an enforcer 
rule to do this, but it needs to be abstracted out so I can use it here and via 
a help:current-plugins goal

> go-offline has an issue resolving dependencies
> ----------------------------------------------
>
>                 Key: MDEP-126
>                 URL: http://jira.codehaus.org/browse/MDEP-126
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline
>            Reporter: JR Boyens
>            Assignee: Brian Fox
>
> Getting this error when attempting to "go-offline". The command run was: mvn 
> dependency:go-offline
> [INFO] Preparing dependency:go-offline
> [INFO] [dependency:resolve-plugins]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-javadoc-plugin
> Version: RELEASE
> Reason: Unable to determine the release version
> Try downloading the file manually from the project website.
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.apache.maven.plugins 
> -DartifactId=maven-javadoc-plugin \
>         -Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file there: 
>     mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins 
> -DartifactId=maven-javadoc-plugin \
>         -Dversion=RELEASE -Dpackaging=maven-plugin -Dfile=/path/to/file \
>          -Durl=[url] -DrepositoryId=[id]
>   org.apache.maven.plugins:maven-javadoc-plugin:maven-plugin:RELEASE

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

        

Reply via email to