The Apache Maven team is pleased to announce the release of the Maven Compiler Plugin, version 3.1
The Compiler Plugin is used to compile the sources of your project. The default compiler is javac and is used to compile Java sources. Also note that at present the default source setting is 1.5 and the default target setting is 1.5, independently of the JDK you run Maven with. http://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> </plugin> Release Notes - Apache Maven 2.x Compiler Plugin - Version 3.1 ** Bug * [MCOMPILER-178] - can't specify -Xlint:-path option without violation of XML well-formness * [MCOMPILER-187] - incremental stuff detect changes even if nothing has changed means too much compilation * [MCOMPILER-190] - No compile errors with plexus-compiler-eclipse * [MCOMPILER-192] - No error reporting with forked compiler when Compiler includes non java files * [MCOMPILER-198] - Some parameters introduced in version 3.0 are annoted with since 2.6 * [MCOMPILER-199] - Plugin 3.0 does not compile src/main/groovy if neither src/main/java nor src/main/resources folders exist ** Improvement * [MCOMPILER-188] - Add a flag to be able to disable incremental feature ** New Feature * [MCOMPILER-132] - Provide general "maven.compiler.main.skip" attribute Have Fun, -- The Apache Maven team --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org