Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15833

Upgrade Apache Geronimo Specs dependencies

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 16.0.0
    • None
    • None

    Description

      I found a few usages of Apache Geronimo Specs libraries that bing transitive dependencies on some javax libraries (eg javax.transaction.UserTransaction).

       

      These dependancies are: 
      geronimo-jta_1.1_spec
      geronimo-javamail_1.4_spec
      geronimo-annotation_1.1_spec
       
       
      I've never seen these libraries used anywhere before and unsure what the purpose of them is. An investigation is needed to see whether we actually need this or not.

      Provided Solution

      geronimo-jta_1.1_spec

      Geronimo java transaction api is included in some hippo repository modules below. This jar is also not part of the distribution. It is provided externally in tomcat deployment process which means that brc deployment process needs to be updated when it is removed. Using the existing library seems not a blocker in the context of jakarta changes, though a nice to have. Jackrabbit implementation has also a dependency to GlassFish Java Transaction API (javax.transaction-api:1.3) and also jakarta has own jakarta.transaction-api library.

      hippo-repository-api
      hippo-repository-connector
      hippo-repository-engine
      

      geronimo-javamail_1.4_spec

      This library was excluded since CXF had dependency to it. CXF has no longer dependency to geronimo javamail so the relevant configuration is removed.

      geronimo-annotation_1.1_spec

      This and javax.annotation libraries are replaced with jakarta.annotation api library. This document page needs to be updated in the release process.

      https://xmdocumentation.bloomreach.com/library/concepts/rest/restful-jax-rs-component-support-in-hst-2.html

      Attachments

        Issue Links

          Activity

            People

              jhoffman Jeroen Hoffman
              mustafa.dagher Mustafa Dagher (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: