Apache Maven Compiler Plugin Version 3.8.1 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.8.1.

The Compiler Plugin is used to compile the sources of your project.

Important Notes since Version 3.8.1

  • The default value for source/target has been lifted from 1.5 to 1.6 see MCOMPILER-335.

You should specify the version in your project's plugin configuration:

1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-compiler-plugin</artifactId>
4  <version>3.8.1</version>
5</plugin>

Release Notes - Maven Compiler Plugin - Version 3.8.1

Bugs:

  • MCOMPILER-306 - Incorrect compilerArgs example usage
  • MCOMPILER-349 - maven-compiler-plugin does not recompile a module if a dependency module has been updated & recompiled
  • MCOMPILER-360 - NPE when calculating modulepath with invalid entries
  • MCOMPILER-379 - Fatal error compiling: basedir ... arget/generated-sources/annotations does not exist

Improvements:

  • MCOMPILER-322 - Set the JPMS module version
  • MCOMPILER-366 - Warning about automodules should provide the list of offending libraries

Enjoy,

  • The Apache Maven team