[ https://jira.codehaus.org/browse/MRRESOURCES-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=353698#comment-353698 ]
Laurent Malvert edited comment on MRRESOURCES-72 at 10/3/14 1:25 PM: --------------------------------------------------------------------- Actually I get hit by this error even with an internet connection when trying a build of Maven in normal *online* mode. I'll send a build log. was (Author: laurent.malvert): Actually I get hit by this error even with an internet connection when trying a build of Maven. I'll send a build log. > Process mojo ignores offline mode > --------------------------------- > > Key: MRRESOURCES-72 > URL: https://jira.codehaus.org/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 > > 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 (v6.1.6#6162)