Try running mvn package hpi:run There is a filled issue about that if you have run clean before hpi:run
On Tue, Oct 31, 2017, 21:18 Jean-Karlo Accetta <jeankarlo.acce...@gmail.com> wrote: > Hi all, > > I am new to developing plugins for Jenkins, and I was reading several of > the related pages on getting started. The problem is that whenever I try > to run any build step or goal, it fails. I tried first with the hpi:run > command they say to use for debugging, but any goal will result in the > following error: > > [*ERROR*] Failed to execute goal > org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce > *(display-info)* on project jenkins-plugins: *Execution display-info of > goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce > failed.*: NullPointerException -> *[Help 1]* > > I'm not sure what is going on, but all my other maven projects work fine. > I'm not sure if it's an issue with maven's settings.xml or if it's an issue > with the plugin's pom or something. > > Any help would be appreciated, and please let me know if more information > (the full log or the pom or something) would be helpful. > > Thanks, > - JK > > -- > 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/f03a7004-689f-4d97-a260-33caa81a0875%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/f03a7004-689f-4d97-a260-33caa81a0875%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CALHFn6N02uR%2BmJ8O2Em4t-GBBZMK_MzHUPMV3GL%2B0YuYgqf8xA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.