The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 2.2
This plugin provides the capability to compile the java sources and newly also to process annotations in jdk 1.6. See the plugin's site for ore details: 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>2.2</version> </plugin> Release Notes - Maven 2.x Compiler Plugin - Version 2.2 ** Bug [MCOMPILER-98] - -sourcepath not passed to javac [MCOMPILER-118] - all compiler messages are reported as errors if failOnError == true ** Improvement [MCOMPILER-115] - Support source/target > 1.5 from eclipse compiler [MCOMPILER-116] - support compilerArguments / testCompilerArguments from eclipse compiler ** New Feature [MCOMPILER-75] - Add apt support for Java 6 ** Task [MCOMPILER-117] - convert to JDK 1.5 source/target Enjoy, -The Maven team