By default, as I understand it, Maven 3 compiles with the source and target options set to 1.5. This guarantees that later language features (such as diamond notation) will result in compile errors, and the generated classes will run in a JDK 1.5 JVM. But what about API calls? Does the compile plugin have a way to ensure that references to APIs created in later versions of the JDK will fail?
I've seen a trick that uses the JDK 1.5 bootclasspath to do this; does Maven have a cleaner solution? Thanks, Russ ----------------- Come read my webnovel, Take a Lemon <http://www.takealemon.com>, and listen to the Misfile radio play <http://www.gold-family.us/audio/misfile.html>!