From: dodtsair <mpower...@dodtsair.com>
To: Jenkins Developers <jenkin...@googlegroups.com>
Sent: Sunday, October 23, 2011 8:10 PM
Subject: jenkins maven build requires specific jdk 1.6 version
> I think that this is caused by compiling jenkins using OpenJDK, switching to
> Sun JDK should solve the problem
Yes, Jenkins (as well as Hudson) are unable to build with OpenJDK. it
seems it make sense to use Maven Enfrocer's requireJavaVersion [1] and
requireProperty [2] (to check JVM's vendor) rules will prevent such
problem in the future.
[1] http://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html
[2] http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html
--
Mykola
http://ua.linkedin.com/in/manandbytes
https://github.com/manandbytes/
Do you know how the requireProperty rule would have to look like to only
accept Oracle/Sun JDKs but not OpenJDK?