Search code examples
fasterxml

Where dose the snakeyaml.util package in jackson-dataformat-yaml moved to


I am updating an old project but find out the com.fasterxml.jackson.dataformat.yaml.snakeyaml.util package from jackson-dataformat-yaml no longer exists. I can't find any information where it gets moved to. If it is deleted, what is the recommended replacement? Thanks you.


Solution

  • jackson-dataformat-yaml has been archived. Its successor is now jackson-dataformats-text.

    By the way, which jackson-dataformat-yaml were you using? I could not find any com.fasterxml.jackson.dataformat.yaml.snakeyaml.util packages in versions 2.0 and above, the only sub-package I found was com.fasterxml.jackson.dataformat.yaml.snakeyaml.error.

    So please give this one a try during your migration:

    <dependency>
      <groupId>com.fasterxml.jackson.dataformat</groupId>
      <artifactId>jackson-dataformat-yaml</artifactId>
      <version>2.9.2</version>
    </dependency>