Not sure if this is the plugin you're looking at, but had no issue with this one: https://github.com/jenkinsci/external-monitor-job-plugin/
Proposed a PR to bump to latest parent, and to JDK-8 & Jenkins 2.60.3 as min requirement. https://github.com/jenkinsci/external-monitor-job-plugin/pull/18 Le jeu. 13 déc. 2018 à 01:55, Baptiste Mathus <[email protected]> a écrit : > @Paul do generally not hesitate to file a WIP PR, so we can chime in on > actual code, and possibly even file a PR against your PR :). I expect it to > overall take less time than trying here to understand the issue without > looking at the actual code. > > Le mer. 12 déc. 2018 à 21:29, Jesse Glick <[email protected]> a écrit : > >> On Wed, Dec 12, 2018 at 3:25 PM paul_d_smith <[email protected]> >> wrote: >> > I'm trying to create a plug-in and started from the external-jobs >> plugin. Unfortunately this had a very obsolete pom.xml so I've tried >> updating it following some help given elsewhere in this group but I'm stuff >> no this error when I try to run 'mvn hpi:run' >> > >> > [ERROR] Failed to execute goal >> org.jenkins-ci.tools:maven-hpi-plugin:3.0:run (default-cli) on project >> gitlab-pipeline-job: minimumJavaVersion attribute must be set starting from >> version 2.8 -> [Help 1] >> >> Presumably you neglected to add the `java.level` property to the POM. >> I think a more helpful message would have been displayed if you have >> started with something like >> >> $ mvn clean install >> >> since there is an Enforcer rule which will blow up if you use the >> placeholder default value. >> >> -- >> 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/CANfRfr3A7Edvmau1Gp73JgjFC7xGHU1xyQBW%2B8jNg5huNtG5Gw%40mail.gmail.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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5-wcwOmVX-9crXZa9DdtzyUBGraOTdgany73PpKbZZdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
