Hi, It looks like your corporate proxy requires authentication, have you specified you username/password to you proxy in your .m2/settings.xml? See maven documentation[1]
Hugo [1]http://maven.apache.org/guides/mini/guide-proxies.html On Monday, December 9, 2013 11:34:51 AM UTC-5, Glenn Halstead wrote: > > Hi folks, > > I'm trying to follow the plugin tutorial here ( > https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment) > > without much success. > > My original problem was: > > [WARNING] Could not transfer metadata > org.jenkins-ci.tools/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Connect > ion to http://repo.maven.apache.org refused > > I moved along a small step by adding a proxy to my .m2/settings.xml. Now > my issue is: > > [WARNING] Could not transfer metadata > org.jenkins-ci.tools/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Access > denied to: > http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-metadata.xml, > ReasonPhrase:Forbidden. > > I suspect this might still be corporate firewall issues. > > Does anyone have any advice? > > thanks > > > > > > ... Full Maven output below: > [INFO] Scanning for projects... > Downloading: > http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-metadata.xml > Downloading: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml > Downloading: > http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml > > > > [WARNING] Could not transfer metadata > org.jenkins-ci.tools/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-metadata.xml, > ReasonPhrase:Forbidden. > [WARNING] Could not transfer metadata > org.apache.maven.plugins/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml, > ReasonPhrase:Forbidden. > [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml > from/to central (http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml, > ReasonPhrase:Forbidden. > Downloading: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml > > [WARNING] Could not transfer metadata > org.apache.maven.plugins:maven-eclipse-plugin/maven-metadata.xml from/to > central (http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml, > ReasonPhrase:Forbidden. > [INFO] > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Maven Stub Project (No POM) 1 > [INFO] > ------------------------------------------------------------------------ > [WARNING] Failure to transfer org.jenkins-ci.tools/maven-metadata.xml from > http://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced. Original error: Could not transfer metadata > org.jenkins-ci.tools/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-metadata.xml, > ReasonPhrase:Forbidden. > [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml > from http://repo.maven.apache.org/maven2 was cached in the local > repository, resolution will not be reattempted until the update interval of > central has elapsed or updates are forced. Original error: Could not > transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to > central (http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml, > ReasonPhrase:Forbidden. > [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from > http://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced. Original error: Could not transfer metadata > org.codehaus.mojo/maven-metadata.xml from/to central ( > http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml, > ReasonPhrase:Forbidden. > [WARNING] Failure to transfer > org.apache.maven.plugins:maven-eclipse-plugin/maven-metadata.xml from > http://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced. Original error: Could not transfer metadata > org.apache.maven.plugins:maven-eclipse-plugin/maven-metadata.xml from/to > central (http://repo.maven.apache.org/maven2): Access denied to: > http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml, > ReasonPhrase:Forbidden. > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 7.621s > [INFO] Finished at: Mon Dec 09 16:33:38 GMT 2013 > [INFO] Final Memory: 4M/15M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli): > Goal requires a project to execute but there is no POM in this directory > (C:\maven\apache-maven-3.1.1\bin). Please verify you invoked Maven from the > correct directory. -> [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/MissingProjectException > Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook > Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files > (x86)\HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program > Files (x86)\HP\Unified Functional > Testing\\bin\java_shared\classes\jasmine.jar" > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
