The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.5.1. The Compiler Plugin is used to compile the sources of your project. 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.5.1</version> </plugin> Release Notes - Maven Compiler Plugin - Version 3.5.1 ** Bug * [MCOMPILER-236] - Compilation error due to MCOMPILER-157 in deploy phase * [MCOMPILER-240] - Generated sources directory should not be added to compiler's source roots * [MCOMPILER-262] - When using annotationProcessorPaths, the project dependencies must not be added as well Enjoy, -The Apache Maven team