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.
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.