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/10/06 21:27:10 UTC
[PR] Build against Maven 4.0.0-rc-7 and stop exporting META-INF.maven [maven-hocon-extension]
slachiewicz opened a new pull request, #32:
URL: https://github.com/apache/maven-hocon-extension/pull/32
The integration test has failed on every Maven since rc-4, and CI with it. Two causes:
- The extension was compiled against the 4.0.0-rc-1 API, where `Source.fromPath` lived; later RCs moved it to `Sources.fromPath`, so `locate` threw `NoSuchMethodError`. The API is now at rc-7, and `maven-api-meta` became `maven-api-annotations`.
- `extension.xml` exported `META-INF.maven`, which exposes core's `org.apache.maven.api.di.Inject` index to every plugin realm. Each plugin then failed to load with `ClassNotFoundException: org.apache.maven.cling.extensions.BootstrapCoreExtensionManager`. Core finds `HoconModelParser` in the extension realm itself, so the export is not needed.
CI now uses the shared workflow's Maven 4 default (`maven4-build: true`) instead of pinning beta-5 and rc-4.
Verified: `mvn -Prun-its verify` with Maven 4.0.0-rc-7 on JDK 17 and 21 → hocon-example passes, its child module builds from `pom.hocon`; spotless and RAT pass.
--
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] Build against Maven 4.0.0-rc-7 and stop exporting META-INF.maven [maven-hocon-extension]
Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #32:
URL: https://github.com/apache/maven-hocon-extension/pull/32
--
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