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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/f843f2fd-a8a9-4fd4-b9e6-7342866ff5aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to