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

Version conflict in validation-api due to old swagger version in 15.1.0

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 15.1.0
    • None
    • None
    • Flagged
    • Orion
    • Pulsar 294 - Cycle 6-1, Ready for refinement

    Description

      The cxf-core library comes in version 3.4.5 (defined in hippo-cms7-project-15.1.0.pom) and has an optional dependency on jakarta.validation-api 2.0.2 (see https://mvnrepository.com/artifact/org.apache.cxf/cxf-core/3.4.5).

      But in hst-15.1.0.pom there is a dependency on swagger in version 1.6.2 which depends on javax.validation:validation-api 1.1.0.Final (see https://mvnrepository.com/artifact/io.swagger/swagger-core/1.6.2).

      This leads to a version conflict and an exception when instancing the BeanValidationProvider.

      Un update of the swagger library would be the possible solution. But it moved from io.swagger to io.swagger.core.v3. Since version 2.1.2 it depends on the jakarta.validation-api (see https://mvnrepository.com/artifact/io.swagger.core.v3/swagger-core/2.1.2).

      Is it possible to update swagger?

      Attachments

        Activity

          People

            Unassigned Unassigned
            rsinha Richa Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: