You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/09/28 14:19:55 UTC
[PR] Remove duplicate settings.v4 classes from maven-settings [maven]
slachiewicz opened a new pull request, #13289:
URL: https://github.com/apache/maven/pull/13289
`maven-settings` and `maven-support` both generated `org.apache.maven.settings.v4` from the same `settings.mdo`, so the two published jars each contained the same 11 byte-identical classes. Enforcer's `banDuplicateClasses` flags them in 4.0.0-rc-7 (reported on dev@). `maven-settings` now depends on `maven-support` for these classes, as `maven-model` and `maven-toolchain-model` already do.
The split package would also block `maven-settings` from running on the module path once #12135 exports `org.apache.maven.settings.v4` from `maven-support`.
Verified: `mvn install -pl compat/maven-settings -amd` → green; the built distribution's `lib/` has `settings/v4` classes only in `maven-support`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Remove duplicate settings.v4 classes from maven-settings [maven]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #13289:
URL: https://github.com/apache/maven/pull/13289
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org