Releases: apache/maven-compiler-plugin
Releases · apache/maven-compiler-plugin
3.15.0
🐛 Bug Fixes
- Fix Java 25 compatibility during integration tests (#1020) @desruisseaux
- [MCOMPILER-540] - useIncrementalCompilation=false may add generated sources to the sources list (#192) @mensinda
👻 Maintenance
- Bump org.apache.maven.plugins:maven-plugins from 45 to 46 (#1015) @slachiewicz
- Remove declaration of "plexus-snapshots" repository (#1010) @desruisseaux
- Works only with Maven 4.0.0 rc4 (#996) @slachiewicz
- Enable Java 25 and Maven 4 in CI (#975) @slachiewicz
📦 Dependency updates
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.4.0 to 3.5.0 (#1016) @dependabot[bot]
- Bump plexusCompilerVersion from 2.16.1 to 2.16.2 (#1021) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 46 to 47 (#1019) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.5.1 to 1.5.2 (#1008) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.9 to 9.9.1 (#1005) @dependabot[bot]
- Bump mavenVersion from 3.9.11 to 3.9.12 (#1007) @dependabot[bot]
- Bump maven-plugin-testing-harness to 3.4.0 (#1001) @slawekjaranowski
- Bump plexusCompilerVersion from 2.16.0 to 2.16.1 (#999) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.5.0 to 1.5.1 (#993) @dependabot[bot]
- Bump plexusCompilerVersion from 2.15.0 to 2.16.0 (#992) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.8 to 9.9 (#981) @dependabot[bot]
4.0.0-beta-4
Warning
This plugin is a Maven 4 plugin and requires Maven 4.x to run.
🐛 Bug Fixes
- Various bug fixes in the handling of
--patch-module(#1002) @desruisseaux - Avoid confusion with
META-INF/versionswhen the sub-directories are multi-module (#998) @desruisseaux - Annotation processor not always detected when using
<type>processor</type>(#987) @desruisseaux
📝 Documentation updates
- Fix hyperlinks in the documentation (#1011) @cdouillard
👻 Maintenance
- Remove declaration of "plexus-snapshots" repository in integration tests (#1009) @desruisseaux
- Quote filenames written in shell scripts (#997) @desruisseaux
- Remove the integration test for MCOMPILER-346 (#995) @desruisseaux
- chore: drop junit3 references (#985) @sparsick
📦 Dependency updates
- Bump org.apache.maven.plugins:maven-plugins from 46 to 47 (#1018) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 45 to 46 (#1012) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.9 to 9.9.1 (#1004) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.20.0 to 5.21.0 (#1003) @dependabot[bot]
4.0.0-beta-3
Warning
This plugin is a Maven 4 plugin and requires Maven 4.x to run.
⚠️ Deprecated
- Deprecate the
debugflag (#953) @desruisseaux
🚀 New features and improvements
- Add a parser for
module-info-patch.mavenfiles where `--add-exports and similar options can be specified more easily (#963) @desruisseaux - Build projects that are both multi-module and multi-release. (#959) @desruisseaux
- Suport command line parameters for incremental build (#958) @zhaoyunxing92
🐛 Bug Fixes
- Module descriptor not found when using forked compiler (#983) @desruisseaux
- Fix multi-release support when module-info is not in the base class (#948) @desruisseaux
- Make the default include/exclude syntax compatible with the behavior of Maven 3 (#945) @desruisseaux
📝 Documentation updates
- Cleanup in IT and Javadoc (#984) @desruisseaux
- Add documentation for multi-release and multi-module projects (#976) @desruisseaux
- Port and update the documentation (#941) @desruisseaux
- Add JDK 23 information and example for annotation processing (#939) @Bukama
👻 Maintenance
- Fix for new Kotlin (#978) @cstamas
- Bump plugins to solve test issue on macos and Java 25 (#974) @slachiewicz
- Add matrix exclusion for specific JDK distributions (#972) @slachiewicz
- feat: enable prevent branch protection rules (#956) @sparsick
- Replace maven-plugin-testing-harness by maven-testing and remove sisuPlexusVersion property (#954) @cdouillard
- Two more test cases for multi-release integration tests (#951) @fridrich
- Update the "non-javac-compilers" guide and add an integration test. (#937) @desruisseaux
- Refactoring and support of
<release>and<module>elements (#320) @desruisseaux
🔧 Build
📦 Dependency updates
- Bump org.ow2.asm:asm from 9.8 to 9.9 (#980) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.19.0 to 5.20.0 (#970) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.18.0 to 5.19.0 (#957) @dependabot[bot]
- Upgrade the dependencies of all remaining occurrences of commons-lang3. (#950) @desruisseaux
- Bump org.apache.commons:commons-lang3 from 3.6 to 3.18.0 in /src/it/MCOMPILER-268_modulepath (#947) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.4 to 3.18.0 in /src/it/MCOMPILER-203-processorpath/annotation-processor (#946) @dependabot[bot]
- Undeclared dependencies (#944) @fridrich
- Port to maven 4.0.0-rc-4 (#943) @fridrich
- Bump org.apache.maven.plugins:maven-plugins from 44 to 45 (#936) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.17.0 to 5.18.0 (#329) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-plugins from 43 to 44 (#328) @desruisseaux
- Bump org.ow2.asm:asm from 9.7.1 to 9.8 (#318) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.16.1 to 5.17.0 (#322) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.16.0 to 5.16.1 (#313) @dependabot[bot]
- Bump org.mockito:mockito-core from 5.14.2 to 5.16.0 (#307) @dependabot[bot]
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.toolsAPI 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
moduleVersiontomaven.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