On Wed, Dec 12, 2018 at 3:25 PM paul_d_smith <paul_d_sm...@hotmail.com> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
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.

Reply via email to