Repository navigation
v4.0.0 maven-cdi-plugin-utils
Release Notes - mavenplugins/maven-cdi-plugin-utils
4.0.0
Summary
- Work for Java 8, 11, 17, 21 by using CDI WELD 4.0.3.Final with Jakarta Inject API
- CDI dependencies migrated from Javax to Jakarta EE (see Compatibility below)
- Extend the workflow execution to handle an
EnforceRollbackWithoutErrorException
to abort the workflow with a rollback of previous actions but with Maven success.
This is supposed for test purpose only - #4
Compatibility
- 👉 This release requires to migrate components depending on it, since CDI dependencies did have been changed from Javax to Jakarta EE!
Updates
-
EnforceRollbackWithoutErrorException.java:
- added
-
WorkflowExecutor.java:
- handle EnforceRollbackWithoutErrorException to:
- perform a rollback like in an error case
- end normal without re-throwing this exception
- handle EnforceRollbackWithoutErrorException to:
-
AbstractCDIMojo.java,
MojoInject.java,
MojoProduces.java,
CdiBeanWrapper.java,
CdiProducerBean.java,
CDIUtil.java,
MavenLogWrapper.java:- migrate from Javax to Jakarta EE injection