Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25631

Update Snakeyaml jar

    XMLWordPrintable

    Details

      Description

      On "master" nxserver/lib has jackson-dataformat-yaml-2.8.10 and snakeyaml-1.13. These jars are incompatible and will result in a MethodNotFound exception.

      It looks like the dependencies are coming from Elasticsearch:

       org.elasticsearch:elasticsearch-x-content:jar:6.3.0:compile
       +- org.yaml:snakeyaml:jar:1.13:compile
       +- com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.8.10:compile
       +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.8.10:compile
       \- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:jar:2.8.10:compile
      

      Actually jackson-dataformat-yaml:jar:2.8.10 depends on 1.17 of snakeyaml.

      We need to update the snakeyaml in the root pom.xml.

      It looks like nuxeo-automation-io uses snakeyaml so we will need to check that still works.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m