On Wed, Sep 16, 2015 at 12:48 AM, Daniel Beck <
m...@beckweb.net> wrote:
> You need Maven to do anything anyway, and `mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create` is trivial to run. Yet we have some random service that does basically the same thing
Agreed, I think the effort would be better placed into cleaning up the
introductory plugin author documentation and clearly listing the
command to run.
BTW it is not quite that simple, since the archetype is not in Central:
$ docker run --rm maven mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create
[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: 2.250 s
[INFO] Finished at: 2015-09-16T13:18:43+00:00
[INFO] Final Memory: 8M/178M
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin
'org.jenkins-ci.tools:maven-hpi-plugin' from the repositories [local
(/root/.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