[ 
https://issues.apache.org/jira/browse/MDEP-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492037#comment-16492037
 ] 

Bob van der Linden commented on MDEP-82:
----------------------------------------

This is not yet fixed for me. Consider the following: 
[https://gist.github.com/bobvanderlinden/960203d38475c4e0ffe861b049bbc107]

It fails with the following error:

{{[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:2.5.2:install (default-install) 
on project main: Execution default-install of goal 
org.apache.maven.plugins:maven-install-plugin:2.5.2:install failed: Plugin 
org.apache.maven.plugins:maven-install-plugin:2.5.2 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.codehaus.plexus:plexus-container-default:jar:1.6 has not been downloaded 
from it before. -> [Help 1] }}

> go-offline / resolve-plugins does not resolve all plugin dependencies
> ---------------------------------------------------------------------
>
>                 Key: MDEP-82
>                 URL: https://issues.apache.org/jira/browse/MDEP-82
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline, resolve-plugins
>    Affects Versions: 2.0-alpha-4, 2.8, 2.10
>         Environment: Maven 2.0.6
>            Reporter: Arne Degenring
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: maven-dependency-plugin-2.3.patch, pom.xml
>
>
> The attached pom.xml is a very simple JAR project, without any direct 
> dependencies or plugin dependencies.
> Start with an empty local repository, and run mvn dependency:go-offline on 
> it. Some files get downloaded, but not everything that is needed for the 
> build. If you run "mvn -o package" afterwards, you end up with the following 
> error:
> {noformat}[ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not 
> exist or no valid version could be found{noformat}
> Afterwards, even "mvn package" without the "-o" parameter does not work any 
> longer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to