Skip to content

Releases

2.18.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 10:44
plexus-compiler-2.18.0

This release improves javac --release version handling and updates the Error Prone compiler integration for recent JDKs:

  • Normalize 1.x release versions for javac (#516): While -source and -target accept both 1.8 and 8, javac --release rejects 1.x spellings (release version 1.8 not supported). JavacCompiler now maps 1.5โ€“1.8 to 5โ€“8 automatically so projects can derive <release> from an existing 1.x target property without failure.
  • Error Prone 2.50.0 & JDK 27 compatibility (#517): Upgrades plexus-compiler-javac-errorprone to Error Prone 2.50.0 (fixing JCCompilationUnit.endPositions removal on JDK 27, JDK-8372948). Because Error Prone 2.43+ requires a Java 21 runtime, the plexus-compiler-javac-errorprone module now requires Java 21 (all other compiler modules remain on Java 8).
  • Test harness JDK version detection (#518): AbstractCompilerTest now derives the running Java feature version dynamically via getJavaFeatureVersion() instead of matching a fixed list of known JDK versions, fixing test execution on JDK 26+.

๐Ÿšจ Removed

๐Ÿš€ New features and improvements

๐Ÿ“ Documentation updates

๐Ÿ‘ป Maintenance

๐Ÿ”ง Build

๐Ÿ“ฆ Dependency updates

Full changelog

2.17.1

Choose a tag to compare

๐Ÿ› Bug Fixes

  • Restore the -Xlint category on in-process javac warnings (#515) @slachiewicz
  • Skip blank annotation processor names in javac and eclipse (#513) @slachiewicz
  • Fix aspectj-compiler IT for Maven 4 stdout prefixing (#509) @ascheman

๐Ÿ“ Documentation updates

๐Ÿ”ง Build

๐Ÿ“ฆ Dependency updates

2.17.0

Choose a tag to compare

javac diagnostics come through more faithfully in this release: multi-line notes are forwarded rather
than swallowed, warnings are counted by kind instead of by subtraction, output no classifier recognised
is now reported instead of dropped, and a forked javac no longer reports the diagnostic column one off.
Argument files are quoted (#484). The modules also declare automatic module names, and the compiler now
depends on the resolver directly rather than on maven-core. That is why this is 2.17.0 and not 2.16.3.

๐Ÿš€ New features and improvements

๐Ÿ› Bug Fixes

  • Forward javac notes, including the multi-line ones (#496) @slachiewicz
  • Report javac output that no classifier recognised (#494) @slachiewicz
  • Fix off by one column in diagnostic when using "forked" execution of javac. (#483) @wilx

๐Ÿ‘ป Maintenance

๐Ÿ”ง Build

๐Ÿ“ฆ Dependency updates

17 changes

2.16.2

Choose a tag to compare

๐Ÿ› Bug Fixes

  • Fixed ConcurrentModificationException on compilerArguments (#466) @slachiewicz

๐Ÿ“ฆ Dependency updates

2.16.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 10:58
plexus-compiler-2.16.1
c37d860

๐Ÿ› Bug Fixes

๐Ÿ“ฆ Dependency updates

2.16.0

Choose a tag to compare

๐Ÿš€ New features and improvements

๐Ÿ› Bug Fixes

๐Ÿ‘ป Maintenance

๐Ÿ“ฆ Dependency updates

2.15.0

Choose a tag to compare

@github-actions github-actions released this 10 Mar 16:51
plexus-compiler-2.15.0
999c965

๐Ÿš€ New features and improvements

  • Allow to override useUnsharedTable compiler argument (#373) @slawekjaranowski
  • Lazy providers and better error reporting (#361) @kriegaex
  • Only use "-release" parameter with javac 9+ (#362) @kwin
  • Correctly determine the version of the underlying javac tool (#357) @kwin
  • Use a TreeSet instead of HashSet to get consistent ordering of results (#352) @laeubi

๐Ÿ› Bug Fixes

  • Cleanup dependencies (#369) @slachiewicz
  • Path.relativize() may throw exception if source and build directories are on different Windows drives (#368) @slachiewicz
  • Fix ECJ not using annotation processor when defined via processorpath (#350) @famod
  • Report "Error occurred during initialization of VM" as error (#343) @olamy

๐Ÿ“ฆ Dependency updates

  • Bump org.codehaus.plexus:plexus from 16 to 17 (#372) @dependabot
  • Bump com.google.errorprone:error_prone_core from 2.24.1 to 2.25.0 (#367) @dependabot
  • Require Maven 3.6.3+ (#353) @slachiewicz
  • Bump com.google.errorprone:error_prone_core from 2.24.0 to 2.24.1 (#348) @dependabot
  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.12.0 to 3.12.1 (#345) @dependabot
  • Bump com.google.errorprone:error_prone_core from 2.23.0 to 2.24.0 (#341) @dependabot
  • Bump org.codehaus.plexus:plexus-component-annotations from 2.1.1 to 2.2.0 (#344) @dependabot

๐Ÿ‘ป Maintenance

2.14.2

Choose a tag to compare

@github-actions github-actions released this 20 Dec 21:40
plexus-compiler-2.14.2
e4e73d0

๐Ÿ› Bug Fixes

๐Ÿ“ฆ Dependency updates

  • Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.12.0 (#339) @dependabot
  • Bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre (#340) @dependabot
  • Bump org.codehaus.plexus:plexus-testing from 1.2.0 to 1.3.0 (#335) @dependabot

2.14.1

Choose a tag to compare

@github-actions github-actions released this 13 Dec 22:52
plexus-compiler-2.14.1
385e066

๐Ÿ› Bug Fixes

2.14.0

Choose a tag to compare

@github-actions github-actions released this 11 Dec 22:39
plexus-compiler-2.14.0
c25664b

โ— Requirements for plexus compilers

  • plexus-compiler-aspectj - JDK 17+, Maven 3.9.6
  • plexus-compiler-eclipse - JDK 17+, Maven 3.9.6
  • plexus-compiler-javac - JDK 8+
  • plexus-compiler-javac-errorprone - JDK 11+

๐Ÿšจ Removed

๐Ÿš€ New features and improvements

๐Ÿ› Bug Fixes

๐Ÿ“ฆ Dependency updates

๐Ÿ‘ป Maintenance

๐Ÿ”ง Build