On 12/15/10 3:02 PM, [email protected] wrote:
Hi, Jörn,
Do you know how to ensure that the java compatibility level? The note at the
bottom of
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html<http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html:>says
that setting source/target is not enough, but I can't understand what
they mean with configure the compiler's boot classpath to match the target
JRE. Do we have to hard code the classpath?
We had a similar issue over at UIMA, as far as I understand it, the
code must be compiled with a Java 1.5 JDK, which can be achieved
by setting the JAVA_HOME to it.
Maybe the Animal Sniffer plugin can be used to perform these
checks on every built? Does has anyone experience with it ?
Jörn