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]

Can someone give me a clue as to where I am supposed to set the 
minimumJavaversion because I've tried everywhere I can think of!  I even 
tried reading the maven-hpi-plugin source code but could not see how the 
field that causes this error if null could ever be set :-(.

Thanks - apologies if this is obvious - Java/Maven is not my first language!
Paul DS

-- 
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/ef68087f-95b0-4b7c-b66e-a995052fb559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to