Hi,
I hope this is the correct mailing list as my questions are less about using
Maven than conceptual clarifications with Maven 4. Background: I’m currently
preparing an article at baeldung.com about the changes that the new major
version will bring. The most parts are great IMO!
But there are still some questions open (i.e. only AI tried to answer, but I
cannot prove the answers to be correct)
1.
Release Date: I guess I’m not the first one asking this question. ;-) But just
to get the today’s state - is there any date planned for?
2.
Consumer POM
*
Since RC 5, I need the CLI parameter "-Dmaven.consumer.pom.flatten=true“ to get
the slim Consumer POM. Is it planned to leave the explicit enabled, or might it
change to be the default for the final release?
*
Why are processor-typed dependencies included, when annotation processing is
only happening at build time?
*
Am I right to add the Lombok dependency twice, one for the API with provided
scope, and one for the processor?
3.
Lifecycle Changes
*
Currently the maven-failsafe-plugin verifies the test results in the verify
phase, so that the integration-test phase will not bring the build to fail,
because post-integration-test needs to be executed to tear down any servers.
Will this be the same behaviour in the new lifecycle with the
after/before-hooks? Will we still need to invoke the verify phase to fail the
build?
*
Is it correct that an after-hook will only be executed when the main-phase runs
successfully? Are there any hooks planned to get any
catch/finally-functionality? (e.g. "after-error:“ or „after-finally“?)
4.
Conditional Profiles
*
Just one feedback: Unfortunately, we need to encode XML entities in the
pom.xml, so this might not be comfortable to read:
"<condition>exists('${project.basedir}/src/** /*.xsd') &&
length(${user.name}) > 5</condition>
Not sure if a CDATA-hint in the docs might help?
5.
MCP Server: Could not find anything about that in the official release notes.
Is there an AI support planned?
Thanks for your support!
Regards,
Ralf Ueberfuhr
Trainer Academy
[phone]
+49 89 32468-2050<tel:+49%2089%2032468-2050>
[mobile]
+491728609718<tel:+491728609718>
[email]
[email protected]<mailto:[email protected]>
[website]
atvantage.com<https://www.atvantage.com>
[LinkedIn] <https://www.linkedin.com/company/36030355> [YouTube]
<https://www.youtube.com/@ATVANTAGE_DE> [Xing]
<https://www.xing.com/pages/atvantage>
[ATVANTAGE Logo]
ATVANTAGE GmbH
Im Mediapark 5 · D-50670 Köln
Geschäftsführer: Stefan Gierl
Handelsregister: Köln · HRB 117255 · USt-ID: DE365991872
Datenschutzerklärung<https://www.atvantage.com/datenschutz> | Part of TIMETOACT
GROUP
[atvantage-banner]<https://www.atvantage.com/>