Releases: apache/maven-compiler-plugin
Releases · apache/maven-compiler-plugin
4.0.0-beta-1
Warning
This plugin is a Maven 4 plugin and requires Maven 4.0.0-beta-3 to run.
What's Changed
- Exclude JDK 8 - temurin, adopt-openj9 on macos, use defaults values by @slawekjaranowski in #238
- Remove info about old versions by @elharo in #237
- [MCOMPILER-588] JUnit4 test framework to JUnit5 migration by @MidNight-er in #236
- [MCOMPILER-591] testCompile - fix detections of target less than 1.9 by @slawekjaranowski in #240
- [MCOMPILER-590] Bump org.apache.maven.plugins:maven-plugins from 41 to 42 by @dependabot in #235
- Remove Maven 3 note by @elharo in #241
- [MCOMPILER-593] Switch to the Maven 4 API by @gnodet in #147
- Cleanup by @gnodet in #249
- Fix license/notice by @gnodet in #250
- Build with JDK 17 and 21 in Jenkins by @gnodet in #251
New Contributors
- @MidNight-er made their first contribution in #236
Full Changelog: maven-compiler-plugin-3.13.0...maven-compiler-plugin-4.0.0-beta-1
3.13.0
🚀 New features and improvements
- [MCOMPILER-574] - Propagate cause of exception in AbstractCompilerMojo (#232) @slawekjaranowski
- [MCOMPILER-582] - Automatic detection of release option for JDK < 9 (#228) @slawekjaranowski
- [MCOMPILER-583] - Require Maven 3.6.3 (#229) @slawekjaranowski
- [MCOMPILER-577] - Rename parameter "forceJavacCompilerUse" (#225) @kwin
- [MCOMPILER-570] - Add links to javac documentation of JDK17 (#224) @kwin
- [MCOMPILER-576] - Deprecate parameter "compilerVersion" (#223) @kwin
📦 Dependency updates
- [MCOMPILER-575] - Bump plexusCompilerVersion from 2.14.2 to 2.15.0 (#227) @dependabot
- Bump apache/maven-gh-actions-shared from 3 to 4 (#226) @dependabot
📝 Documentation updates
- [MCOMPILER-548] - JDK 21 throws annotations processing warning that can not be turned off (#200) @hgschmie
👻 Maintenance
- [MCOMPILER-584] - Refresh page - Using Non-Javac Compilers (#231) @slawekjaranowski
- [MCOMPILER-585] - Refresh plugins versions in ITs (#230) @slawekjaranowski
- subject verb agreement (#221) @elharo
3.12.1
🐛 Bug Fixes
- [MCOMPILER-567] - Fail to compile if the generated-sources/annotation… (#218) @jorsol
📦 Dependency updates
- [MCOMPILER-568] - Bump plexusCompilerVersion from 2.14.1 to 2.14.2 (#220) @dependabot
3.12.0
🚀 New features and improvements
- [MCOMPILER-562] - Add property maven.compiler.outputDirectory to CompilerMojo (#213) @jGauravGupta
- [MCOMPILER-381] - Refactor incremental detection (#181) @jorsol
- [MCOMPILER-542] - Clean JDK patch version in module-info.class (#208) @jorsol
- [MCOMPILER-558] - compileSourceRoots in testCompile should be writable (#209) @lorenzsimon
- [MCOMPILER-559] - Warn if overwriting the project's artifact's file to a different value (#211) @gnodet
- [MCOMPILER-550] - make outputDirectory writable (#202) @bmarwell
- [MCOMPILER-549] - Improve log message in case of recompilation - fix jenkins build (#203) @slawekjaranowski
- [MCOMPILER-549] - Improve log message in case of recompilation (#201) @BrowneMonke
- [MCOMPILER-391] - Use dep mgmt when resolving annotation processors and their deps (#180) @psiroky
- [MCOMPILER-531] - Prepare for Java 20(-ea) (#184) @slachiewicz
🐛 Bug Fixes
- [MCOMPILER-333] - Cleanup generated source files (#214) @jorsol
- [MCOMPILER-544] - don't add items to classpath that are not used for that (#198) @laeubi
- [MCOMPILER-547] - : Initialize pathElements to empty (#199) @rovarga
📦 Dependency updates
- [MCOMPILER-564] - Bump plexusCompilerVersion from 2.13.0 to 2.14.1 (#216) @dependabot
- [MCOMPILER-557] - Upgrade maven-plugin parent to 41 - fix build (#210) @slawekjaranowski
- [MCOMPILER-554] - Update plexus-java to 1.2.0 (#207) @jorsol
- [MCOMPILER-551] - Upgrade Parent to 40 (#205) @slawekjaranowski
- [MCOMPILER-541] - update maven-shared-utils to 3.4.2 (#195) @elharo
- Bump apache/maven-gh-actions-shared from 2 to 3 (#182) @dependabot
- Bump maven-invoker-plugin from 3.4.0 to 3.5.0 (#179) @dependabot
👻 Maintenance
- [MCOMPILER-565] - Allow project build by Maven 4 (#217) @slawekjaranowski
- [MCOMPILER-552] - Refresh download page (#204) @slawekjaranowski
- Remove references to old Maven versions. (#194) @elharo
- (doc) Drop unused and vulnerable dependency to log4j (#190) @slachiewicz
- [MNG-6829] - Replace StringUtils#isEmpty(String) & #isNotEmpty(String) (#189) @timtebeek
- Update plexus-utils to 3.0.24 - in its (#183) @slachiewicz
3.11.0
🚀 New features and improvements
- [MCOMPILER-494] - Add a
useModulePath
switch to thetestCompile
mojo (#119) @dmlloyd - [MCOMPILER-395] - Allow dependency exclusions for 'annotationProcessorPaths' (#173) @psiroky
- [MCOMPILER-522] - Use maven-resolver to resolve 'annotationProcessorPaths' dependencies (#169) @psiroky
- [MCOMPILER-516] - upgrade plexus-compiler to improve compiling message (#164) @hboutemy
- [MCOMPILER-501] - compileSourceRoots parameter should be writable (#159) @gnodet
- [MCOMPILER-457] - Change showWarnings to true by default (#157) @pzygielo
- [MCOMPILER-457] - Warn about warn-config conflicting values (#153) @pzygielo
- [MCOMPILER-505] - Update default source/target from 1.7 to 1.8 (#149) @jorsol
- [MCOMPILER-499] - display recompilation causes (#143) @olamy
- [MCOMPILER-500] - add some parameter to pattern from stale source calculation (#141) @olamy
- [MCOMPILER-488] - dedicated option for
implicit
javac flag (#102) @pzygielo
🐛 Bug Fixes
- [MCOMPILER-525] - Incorrect detection of dependency change (#172) @jorsol
- [MCOMPILER-523] - Test with Maven 3.9.0 and fix the failing IT (#176) @gnodet
- [MCOMPILER-503] - Resolve all annotation processor dependencies together (#170) @psiroky
- [MCOMPILER-512] - Defining maven.compiler.release as empty string end… (#158) @project25o1
- [MCOMPILER-495] - Fixes missing dirs in createMissingPackageInfoClasses (#121) @jmax01
- [MCOMPILER-347] - Set Xcludes in config passed to actual compiler (#101) @pzygielo
📦 Dependency updates
- Bump apache/maven-gh-actions-shared from 2 to 3 (#182) @dependabot
- Bump maven-invoker-plugin from 3.4.0 to 3.5.0 (#179) @dependabot
- [MCOMPILER-527] - Upgrade plexus-java to 1.1.2 (#177) @gnodet
- [MCOMPILER-526] - Upgrade to parent 39 (#175) @gnodet
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/packaging-plugin (#115) @dependabot
- [MCOMPILER-519] - Upgrade maven-invoker-plugin from 3.3.0 to 3.4.0 (#166) @psiroky
- Bump qdox from 2.0.2 to 2.0.3 (#152) @dependabot
- Bump maven-jxr-plugin from 3.2.0 to 3.3.0 (#146) @dependabot
- Bump maven-jxr-plugin from 3.1.1 to 3.2.0 (#105) @dependabot
- Bump junit from 4.10 to 4.13.1 in /src/it/MCOMPILER-203-processorpath/annotation-user (#114) @dependabot
- Bump plexusCompilerVersion from 2.12.0 to 2.12.1 (#139) @dependabot
- Bump maven-shared-utils from 0.1 to 3.3.3 in /src/it/MCOMPILER-157/annotation-verify (#127) @dependabot
- Bump maven-shared-utils from 0.1 to 3.3.3 in /src/it/MCOMPILER-203-processorpath/annotation-verify (#128) @dependabot
- Bump mockito-core from 4.6.0 to 4.6.1 (#132) @dependabot
- Bump maven-release-plugin from 3.0.0-M5 to 3.0.0-M6 (#133) @dependabot
- Bump mockito-core from 4.5.1 to 4.6.0 (#130) @dependabot
- Bump maven-invoker-plugin from 3.2.2 to 3.3.0 (#131) @dependabot
- Bump junit from 4.8.2 to 4.13.1 in /src/it/groovy-project-with-new-plexus-compiler (#124) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/MCOMPILER-298 (#125) @dependabot
- Bump plexusCompilerVersion from 2.11.2-SNAPSHOT to 2.12.0 (#122) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/singleproject-runtime (#110) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multiproject/multirelease-nine (#112) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multimodule/multirelease-base (#111) @dependabot
- Bump junit from 4.10 to 4.13.1 in /src/it/MCOMPILER-157/annotation-user (#108) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multiproject/multirelease-base (#109) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/multimodule/multirelease-nine (#113) @dependabot
- Bump junit from 4.12 to 4.13.1 in /src/it/multirelease-patterns/singleproject-toolchains (#116) @dependabot
- Bump commons-io from 2.4 to 2.7 in /src/it/MCOMPILER-203-processorpath/annotation-user (#117) @dependabot
- Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 (#118) @dependabot
- Bump mockito-core from 4.4.0 to 4.5.1 (#107) @dependabot
- Bump mockito-core from 4.3.1 to 4.4.0 (#100) @dependabot
👻 Maintenance
- [MCOMPILER-526] - Fix IT (#178) @gnodet
- usage of reflection is not needed anymore (#140) @olamy
🔧 Build
3.10.1
🚀 New features and improvements
- [MCOMPILER-426] - add flag to enable-preview java compiler feature (#98) @olamy
🐛 Bug Fixes
- [MCOMPILER-346] - workaround to jdk bug: assertion error from javaxcompiler javax.tools API (#97) @olamy
- [MCOMPILER-485] - Fixes internal string format in generated package-info.class (#95) @dbwiddis
📦 Dependency updates
- Bump maven-javadoc-plugin from 3.3.1 to 3.3.2 (#94) @dependabot
Other contributions
- thanks to @basil for providing an IT test for the fix of [MCOMPILER-346]
3.10.0
🚨 Removed
- [MCOMPILER-484] - Remove deprecated mojos (#87) @gnodet
🚀 New features and improvements
- [MCOMPILER-205] - Add a boolean to generate missing package-info classes by default (#88) @gnodet
- [MCOMPILER-474] - Also check jar files when determining if dependencies changed (#73) @Powerrr
🐛 Bug Fixes
- [MCOMPILER-225] - javac.sh/javac.bat added to archive (#91) @olamy
- [MCOMPILER-481] - compiler plugin should include static module for compilation (#82) @olamy
- [MCOMPILER-470] -parameters doesn't work with
--release
- [MCOMPILER-460] - Compiler doesn't show detailed information with the Maven Toolchains
📦 Dependency updates
- use plexus-compiler 2.10.0 (#92) @olamy
- Bump mockito-core from 4.2.0 to 4.3.1 (#83) @dependabot
📝 Documentation updates
- [MCOMPILER-479] - Clarify compiler arguments Javadoc (#90) @hisener
- (doc) Fix typo and follow xml block style used for other parameters (#89) @pzygielo
🔧 Build
3.9.0
Content might be not complete
What's Changed
- [MCOMPILER-341] Compile module descriptors with TestCompilerMojo by @sormuras in #4
- [MCOMPILER-349] - changed dependency detection. by @atsyganenko in #6
- [MCOMPILER-360] nullpointer exception by @brychcy in #7
- [MCOMPILER-306] Fix
compilerArgs
example usage by @Stephan202 in #9 - (doc) Fixed broken links to scm, issue tracker, and mailing list page. by @hendriks73 in #15
- Fix typos by @geoand in #16
- Miscellaneous code cleanups by @rhowe in #17
- [MCOMPILER-349] cleanups by @rhowe in #18
- (doc) Use !isEmpty() instead of size() > 0 by @rhowe in #20
- Cleanup debug log handling by @rhowe in #21
- (doc) Simplify CompilationFailureException by @rhowe in #19
- MCOMPILER-359 - Fix for NPE by @hohwille in #28
- (doc) Add example on using --release javac option by @manouti in #29
- (doc) Fixes in multirelease page by @pzygielo in #26
- Remove extra-check for staleSources is non-null by @pzygielo in #32
- Bump plexusCompilerVersion to 2.8.8 by @pzygielo in #39
- ci: JDK 15 by @sullis in #41
- Grammar on 'Compiling Sources Using A Different JDK' page by @mthmulders in #42
- Bump junit from 4.13.1 to 4.13.2 by @dependabot in #49
- Bump actions/cache from v2.1.1 to v2.1.5 by @dependabot in #47
- Bump actions/checkout from 2 to 2.3.4 by @dependabot in #53
- Bump actions/cache from 2.1.5 to 2.1.6 by @dependabot in #55
- Fixed the comment in the POM by @LorenzoBettini in #66
- Fix project key in PR template by @slawekjaranowski in #75
- [MCOMPILER-475] Shared GitHub Actions by @slawekjaranowski in #74
- Bump qdox from 2.0.0 to 2.0.1 by @dependabot in #77
- Bump mockito-core from 2.28.2 to 4.0.0 by @dependabot in #71
- Bump plexusCompilerVersion from 2.8.8 to 2.9.0 by @dependabot in #70
- Bump mockito-core from 4.0.0 to 4.1.0 by @dependabot in #79
- Bump mockito-core from 4.1.0 to 4.2.0 by @dependabot in #80
- Bump plexus-component-metadata from 2.1.0 to 2.1.1 by @dependabot in #81
New Contributors
- @sormuras made their first contribution in #4
- @atsyganenko made their first contribution in #6
- @brychcy made their first contribution in #7
- @Stephan202 made their first contribution in #9
- @hendriks73 made their first contribution in #15
- @geoand made their first contribution in #16
- @rhowe made their first contribution in #17
- @hohwille made their first contribution in #28
- @manouti made their first contribution in #29
- @sullis made their first contribution in #41
- @mthmulders made their first contribution in #42
- @LorenzoBettini made their first contribution in #66
- @slawekjaranowski made their first contribution in #75
Full Changelog: https://github.com/apache/maven-compiler-plugin/commits/maven-compiler-plugin-3.9.0
3.8.1
What's Changed
- [MCOMPILER-341] Compile module descriptors with TestCompilerMojo by @sormuras in #4
- [MCOMPILER-349] - changed dependency detection. by @atsyganenko in #6
- [MCOMPILER-360] nullpointer exception by @brychcy in #7
- [MCOMPILER-306] Fix
compilerArgs
example usage by @Stephan202 in #9 - (doc) Fixed broken links to scm, issue tracker, and mailing list page. by @hendriks73 in #15
New Contributors
- @sormuras made their first contribution in #4
- @atsyganenko made their first contribution in #6
- @brychcy made their first contribution in #7
- @Stephan202 made their first contribution in #9
- @hendriks73 made their first contribution in #15
Full Changelog: https://github.com/apache/maven-compiler-plugin/commits/maven-compiler-plugin-3.8.1