http://mojo.codehaus.org/animal-sniffer-maven-plugin/
Le vendredi 24 mai 2013 13:29:03 Russell Gold a écrit : > 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>! --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org