Releases: apache/maven-compiler-plugin
Releases Β· apache/maven-compiler-plugin
3.14.1
π New features and improvements
- Improve DeltaList behavior for large projects (#335) @gsmet
- Allow to not use --module-version for the Java compiler (#331) @pzygielo
π Bug Fixes
- Add generatedSourcesPath back to the maven project (#312) @mensinda
- [MCOMPILER-538] - Do not add target/generated-sources/annotations to the source roots (#191) @mensinda
π¦ Dependency updates
- Enforce asm version used here, to not depend on brittle transitive (#964) @olamy
- Bump mavenVersion from 3.9.10 to 3.9.11 (#952) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 44 to 45 (#935) @dependabot[bot]
- Bump mavenVersion from 3.9.9 to 3.9.10 (#336) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.4.0 to 1.5.0 (#324) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 43 to 44 (#316) @dependabot[bot]
3.14.0
π New features and improvements
- Enable GitHub Issues (#305) @slawekjaranowski
- [MCOMPILER-579] - allow module-version configuration (#273) @mguillem
- Bump org.codehaus.plexus:plexus-java from 1.2.0 to 1.4.0 - JDK 24 support (#293) @dependabot[bot]
- Update release-drafter configuration, PR automation (#281) @slawekjaranowski
- [MCOMPILER-588] - JUnit4 test framework to JUnit5 migration (#236) @MidNight-er
π Bug Fixes
- Fix release-drafter config (#292) @slawekjaranowski
- [MCOMPILER-591] - testCompile - fix detections of target less than 1.9 (#240) @slawekjaranowski
π¦ Dependency updates
- Bump org.codehaus.plexus:plexus-java from 1.2.0 to 1.4.0 - JDK 24 support (#293) @dependabot[bot]
- Bump mavenVersion from 3.6.3 to 3.9.9 (#283) @dependabot[bot]
- Bump org.mockito:mockito-core from 4.8.0 to 4.11.0 (#288) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 42 to 43 (#285) @dependabot[bot]
- [MCOMPILER-590] - Bump org.apache.maven.plugins:maven-plugins from 41 to 42 (#235) @dependabot[bot]
π» Maintenance
- Update scm tag according to branch (#303) @slawekjaranowski
- [MNGSITE-529] - Rename "Goals" to "Plugin Documentation" (#300) @Bukama
- Use JUnit version from parent (#299) @slawekjaranowski
- [MCOMPILER-529] - Update docs about version schema (Maven 3) (#295) @Bukama
- Use default Maven versions for build on GitHub (#289) @slawekjaranowski
- Remove Maven 3 note (#241) @elharo
- Remove info about old versions (#237) @elharo
π§ Build
- Exclude JDK 8 - temurin, adopt-openj9 on macos, use defaults values (#238) @slawekjaranowski
4.0.0-beta-2
Warning
This plugin is a Maven 4 plugin and requires Maven 4.x to run.
Some of documentation need to be updated, like: MCOMPILER-609
π New features and improvements
- Enable GitHub Issues (#287) @slawekjaranowski
- Upgrade to Maven 4.0.0-rc-2. (#276) @desruisseaux
- Bump org.ow2.asm:asm from 9.7 to 9.7.1 - JDK 24 support (#270) @dependabot[bot]
- Add dependabot for 3.x branch (#279) @slawekjaranowski
- Update release-drafter configuration (#277) @slawekjaranowski
- Add PR automation (#278) @slawekjaranowski
- Rewrite the plugin using standard
javax.tools
API instead of Plexus. (#271) @desruisseaux - Cleanup usages of System.getProperty calls. (#261) @turbanoff
π Bug Fixes
- [MCOMPILER-592] - IndexOutOfBoundsException when project.build.output⦠(#244) @thijsrijpert
- Fix
CompilerMojo#getSourceInclusionScanner(String)
illogicaladdAll
(#243) @JackPGreen - Fix message when building because of a clean state (#242) @gnodet
- Fix wrong Toolchain message (#253) @gnodet
π¦ Dependency updates
- Bump org.ow2.asm:asm from 9.7 to 9.7.1 - JDK 24 support (#270) @dependabot[bot]
- Bump commons-io:commons-io from 2.7 to 2.14.0 in /src/it/MCOMPILER-203-processorpath/annotation-user (#264) @dependabot[bot]
π Documentation updates
- [MNGSITE-529] - Rename "Goals" to "Plugin Documentation" (#296) @Bukama
π» Maintenance
- Add Stale action (#304) @slawekjaranowski
- Publish documentation to LATEST-4.x (#301) @slawekjaranowski
- Update docs for Maven 4 and release option (#294) @Bukama
- Rename property
moduleVersion
tomaven.compiler.moduleVersion
(#302) @slawekjaranowski - Add badge for 3.x version (#297) @slawekjaranowski
- Simplify GH action (#298) @slawekjaranowski
- Disable Jenkins build (#280) @slawekjaranowski
- Refactoring: AbstractCompilerMojo: Replace StringBuilder with String.join() (#265) @stokito
- Remove old JUnit 3.x reference (#254) @gnodet
- Fix build with Maven 4 (#252) @gnodet
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