I have a project where the code is Java 1.4 (source and target).
However, I want to be able to run Maven with a newer JDK and still be
certain the produced artifact (jar) will run on a 1.4 JVM.

I am under the impression that configuring maven-compiler-plugin with
source and target 1.4 is not sufficient because the code could still be
using stuff from the Java libraries which is only available in a later
version of Java.

What is the best way to accomplish this in Maven? I'm looking for a
solution that will be completely portable, so the actual JDK being used
to run Maven will be irrelevant.

--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to