Update dependency maven to v4.0.0-rc-6 - #9625
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.0-rc-5→4.0.0-rc-6Release Notes
apache/maven (maven)
v4.0.0-rc-6: Maven 4.0.0-rc-6Compare Source
Notes
This new release candidate of Maven 4 is released to get feedback from users.
Maven 4 has restricted a few things compared to Maven 3, so make sure to run the
mvnuptool before trying your project with Maven 4.Issues fixed since RC-5
All known issues reported in the RC-5 release notes have been fixed:
ConcurrentModificationExceptionwas fixed in #11429.xattrworkaround from RC-5 is no longer needed.Known compatibility issues
The following are known compatibility issues when using Maven 4. Running
mvnupbefore building withMaven 4 will fix many common plugin version issues automatically. The issues
below are those that require manual intervention or upstream fixes.
Stricter POM validation
Maven 4 enforces stricter validation than Maven 3. Projects may need to fix their POMs:
<artifactId>,<properties>, etc. are now rejected (Duplicated tagerror). Fix the source POM.groupId:artifactIddeclared twice is now rejected (must be unique).${...}expressions in repository URLs, distribution management IDs, and other fields that Maven 3 silently accepted are now rejected.Non-parseable POMerrors.<module>paths — Maven 4 no longer interpolates properties like${spark.version}in<module>elements at POM reading time.${revision}withoutflatten-maven-pluginmay hit missing dependency version errors.${...}version expressions are rejected.Transitive dependency resolution changes
Maven 4's
TransitiveDependencyManagerappliesdependencyManagementat all transitive depths (Maven 3 only applied it at the first level). This is intentional but can change resolved versions:maven-enforcer-pluginversion rules may trigger due to downgraded transitive versions.license-maven-pluginmay report new transitive dependencies not in the allow-list.Plugin and extension compatibility
Some plugins and extensions require specific versions for Maven 4:
ServiceLocator/RepositorySystempatterns incompatible with Maven 4's Sisu-based DI. Upgrade to Quarkus 3.20+.ClassNotFoundException: SimpleLogger).ClassCastExceptionwith Maven 4's resolver. See resolver#1957.Invalid Version Range Requestwhen using${revision}CI-friendly versions.dependency-reduced-pom.xmlcan causeThe parents form a cycleerror.clean-stagingfails under Maven 4.Classloading changes
/.meta/prefixes.txt.Post-mvnup formatting
mvnupmodifies POM files. Re-run the formatter aftermvnup.Other
hadoop-project3.1.0–3.3.0 has invalid XML (<Xlint:-unchecked/>) causing parse errors. These need upstream fixes tracked in HADOOP-19923.🚀 New features and improvements
🐛 Bug Fixes
<configuration>elements (#12582) @gnodetConcurrentModificationException(#11429) @desruisseaux📝 Documentation updates
👻 Maintenance
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.