I followed the instructions in the plugin tutorial to create a new plugin, 
and I can't seem to use java 8 this way:

https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial

$ mvn -U org.jenkins-ci.tools:maven-hpi-plugin:create

$ # open up pom.xml, change 'java.version' to 8

$ mvn package


I get the following error:


```

[INFO] --- animal-sniffer-maven-plugin:1.14:check (check) @ wtf ---

[INFO] Checking unresolved references to 
org.codehaus.mojo.signature:java18:null

[INFO] 
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] 
------------------------------------------------------------------------

[INFO] Total time: 6.085s

[INFO] Finished at: Fri Apr 08 11:14:13 MDT 2016

[INFO] Final Memory: 116M/723M

[INFO] 
------------------------------------------------------------------------

[ERROR] Failed to execute goal 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check (check) on project 
wtf: Execution check of goal 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check failed: For 
artifact {org.codehaus.mojo.signature:java18:null:signature}: The version 
cannot be empty. -> [Help 1]
```


Is this a known issue? Any suggested work-around?

-- 
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/35779857-1392-4c45-9d5e-87d729abe4ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to