I ran mvn help:effective-settings and it only showed me my local repository. I double checked my .m2 folder and I had named settings.xml to setting.xml.
*sigh* Sorry for wasting your time but thank you for your help! On Wednesday, March 16, 2016 at 9:38:46 PM UTC, Baptiste Mathus wrote: > > Normally, that should come from http://repo.jenkins-ci.org/public/ > > Which maven version do you use? > What's in mvn help:effective-settings? > > HTH > > 2016-03-16 1:52 GMT+01:00 Sean Jones <[email protected] <javascript:>>: > >> I am trying to break a plugin up to date but I am not having much luck >> with Maven. >> >> I decided to try create a plugin from scratch, copy the source over and >> add the dependencies one at a time to clean things up. >> >> However, the Plugin Tutorial >> <https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial> appears >> not to work. >> >> My .m2/settings.xml only has the contents they page wants and executing >> the command >> >> mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create >>> >>> >> But I get this error: >> >> [INFO] Scanning for projects... >> Downloading: >> https://repo.maven.apache.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/maven-metadata.xml >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 1.161 s >> [INFO] Finished at: 2016-03-16T00:39:38+00:00 >> [INFO] Final Memory: 12M/309M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Error resolving version for plugin >> 'org.jenkins-ci.tools:maven-hpi-plugin' from the repositories [local >> (/Users/neuralsandwich/.m2/repository), central ( >> https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin >> repository -> [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/PluginVersionResolutionException >> >> Any help would be great, thank you. >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/f843f2fd-a8a9-4fd4-b9e6-7342866ff5aa%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-dev/f843f2fd-a8a9-4fd4-b9e6-7342866ff5aa%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/41ea0f4c-bb2a-4030-adb5-2342b4ecf270%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
