Skip to content

Releases

2.18.1

Choose a tag to compare

@github-actions github-actions released this 15 Nov 14:33
plexus-compiler-2.18.1

plexus-compiler 2.18.1 is a bug-fix release. It makes the Eclipse compiler honour <proc> when annotation processors are discovered from the class path, and picks up the latest plexus-utils and plexus-xml fixes. The compiler modules still require Java 8; plexus-compiler-javac-errorprone requires Java 21, as in 2.18.0.

✨ Highlights

  • <proc>none</proc> and <proc>only</proc> work with ECJ again. EclipseJavaCompiler passed -proc: to ECJ only when a processor, processor path or processor module path was configured explicitly. With processors discovered from the class path, the setting was ignored, so ECJ could still try to load a processor listed in META-INF/services and fail with ServiceConfigurationError. The option is now always passed (#529, fixes #528, thanks @RoiSoleil).
  • plexus-utils 4.2.0 and plexus-xml 3.1.1. plexus-xml 3.1.1 fixes an ArrayIndexOutOfBoundsException in the XML parser for a comment with an emoji or other supplementary character at the parser's buffer boundary. plexus-utils 4.2.0 makes its file deletion helpers safe around symbolic links (#538).
  • Parent POM 28. The build moves to the Plexus parent 28 (#537). The project site no longer has the Source Xref pages.

🐛 Bug Fixes

  • Pass -proc option to ECJ without explicit annotation processors (#529) @RoiSoleil

🔧 Build

📦 Dependency updates

Full changelog

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