[
https://issues.apache.org/jira/browse/MRRESOURCES-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16391701#comment-16391701
]
Michael Osipov commented on MRRESOURCES-72:
-------------------------------------------
still valid
> Process mojo ignores offline mode
> ---------------------------------
>
> Key: MRRESOURCES-72
> URL: https://issues.apache.org/jira/browse/MRRESOURCES-72
> Project: Maven Remote Resources Plugin
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: Apache Maven 3.0.3 (r1172588; 2011-09-19 14:36:33+0200)
> Maven home: /usr/local/apache-maven-3.0.3
> Java version: 1.7.0_25, vendor: Oracle Corporation
> Java home: /usr/local/openjdk7/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "freebsd", version: "9.2-prerelease", arch: "i386", family: "unix"
> Reporter: Michael Osipov
> Priority: Major
> Fix For: more-investigation
>
> Attachments: build.log, offline.log
>
>
> Building Maven 3.1.1 with {{-o}} still tries to retrieve a remote resource
> and fails with:
> {noformat}
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Maven ...................................... SUCCESS [00:04.666]
> [INFO] Maven Model ....................................... SUCCESS [00:09.662]
> [INFO] Maven Artifact .................................... SUCCESS [00:08.064]
> [INFO] Maven Plugin API .................................. SUCCESS [00:04.378]
> [INFO] Maven Model Builder ............................... SUCCESS [00:09.794]
> [INFO] Maven Settings .................................... SUCCESS [00:07.018]
> [INFO] Maven Settings Builder ............................ SUCCESS [00:03.158]
> [INFO] Maven Repository Metadata Model ................... SUCCESS [00:06.664]
> [INFO] Maven Aether Provider ............................. SUCCESS [00:07.652]
> [INFO] Maven Core ........................................ SUCCESS [00:41.676]
> [INFO] Maven Compat ...................................... SUCCESS [00:25.343]
> [INFO] Maven Embedder .................................... SUCCESS [00:04.635]
> [INFO] Apache Maven Distribution ......................... FAILURE [02:31.770]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 04:15.916 (Wall Clock)
> [INFO] Finished at: 2013-11-14 09:15:00
> [INFO] Final Memory: 46M/346M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default)
> on project apache-maven: Error rendering velocity resource. Invocation of
> method 'getResourceAsFile' in class
> org.codehaus.plexus.resource.DefaultResourceManager threw exception
> org.codehaus.plexus.resource.loader.ResourceNotFoundException: Could not find
> resource 'https://glassfish.java.net/public/CDDLv1.0.html'. at
> remote-resources[line 40, column 26] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :apache-maven
> {noformat}
> Offline mode shall be passed to every plugin execution.
> In my case, I am behind a corporate firewall and did not configure it in my
> {{settings.xml}} because we have a local Nexus instance for that.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)