jfrog / artifactory-gradle-plugin

JFrog Gradle plugin for Build Info extraction and Artifactory publishing.
Apache License 2.0
20 stars 15 forks source link

Artifactory plugin pulls in outdated Jackson version #109

Open veita opened 4 months ago

veita commented 4 months ago

Describe the bug

The plugin pulls in the outdated Jackson version 2.14.1 https://github.com/jfrog/artifactory-gradle-plugin/blob/2576ef39a4a8a5e6a523a00a4e3be1ec1e1a18d2/build.gradle.kts#L48C71-L48C77.

This causes errors in other plugins.

Current behavior

Gradle build fails with errors.

java.lang.NoSuchFieldError: Class com.fasterxml.jackson.annotation.JsonFormat$Feature does not have member
 field 'com.fasterxml.jackson.annotation.JsonFormat$Feature READ_DATE_TIMESTAMPS_AS_NANOSECONDS'

Reproduction steps

Go to https://github.com/veita/gradle-plugin-dependency-bug and follow the steps described there.

Expected behavior

The Artifactory should play nicely with other plugins.

Artifactory Gradle plugin version

5.1.1

Operating system type and version

Linux

JFrog Artifactory version

Any.

Gradle version

8.6