Skip to content

v4.0.0 maven-cdi-plugin-utils

Choose a tag to compare

@github-actions github-actions released this 05 Jul 09:07
· 35 commits to master since this release

Release Notes - mavenplugins/maven-cdi-plugin-utils

4.0.0

4.0.0 Badge

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
  • AbstractCDIMojo.java,
    MojoInject.java,
    MojoProduces.java,
    CdiBeanWrapper.java,
    CdiProducerBean.java,
    CDIUtil.java,
    MavenLogWrapper.java:

    • migrate from Javax to Jakarta EE injection