1

I'm trying to write my first own Jenkins Plugin. I followed the instructions (using NetBeans as IDE) as describend here.

So I installed the NetBeans plugin for Jenkins/Stapler development and modified my settings.xml. When I do New Project » Maven » Jenkins Plugin I unfortunately get the following error

Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.jenkins-ci.tools:maven-hpi-plugin:LATEST) -> [Help 1]

To get a more verbose output I added --debug and --errors to the Global Execution Options and got the following output: ConsoleOutput

This line seems to be the root of the error, but I couldn't find any solution for it:

Could not find metadata org.jenkins-ci.tools:maven-hpi-plugin/maven-metadata.xml in local (C:\Users\Username.m2\repository)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.