It's probably failing because the plugin depends from a very old core version which doesn't support jdk 8, and you are using a jdk 8 to build the project.
Either : - install a jdk 7 - update the parent version to something more recent (such as 1.565.1, one year old, but should work better than the current 1.409) Vincent 2015-10-15 12:10 GMT+02:00 Jan Niklas Hasse <jha...@gmail.com>: > On Thu, 15 Oct 2015, at 11:12, Robert Sandell wrote: > > Hmm, it seems that it's looking in maven central for the hpi-plugin when > it should be looking in repo.jenkins-ci.org/public > > Have you configured your maven settings as described here? > https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment > > No I haven't, thanks! Now I'm running into: > > [INFO] WARNUNG: Error injecting: > org.jenkinsci.maven.plugins.hpi.AptCompiler > [INFO] java.lang.NoClassDefFoundError: > com/sun/mirror/apt/AnnotationProcessorFactory > > Which might be because I'm still on Ubuntu 14.04? > > -- > 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 jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/1444903823.3474640.410898185.3CFF879F%40webmail.messagingengine.com > . > 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAH-zGCjuKQyj5rFZUTNNE9egfPBKN-xwqsuMXvZeJfhDMpgsJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.