This is an automated email from the ASF dual-hosted git repository.
jinwoo pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push:
new 74cf647e92 Add version constraint for jackson-dataformat-yaml (#7970)
74cf647e92 is described below
commit 74cf647e92ca34dd046aac5e2d49c0878f4b374a
Author: Jinwoo Hwang <[email protected]>
AuthorDate: Thu Dec 11 16:39:20 2025 -0500
Add version constraint for jackson-dataformat-yaml (#7970)
The geode-core module declares jackson-dataformat-yaml as a dependency
without specifying a version, relying on DependencyConstraints.groovy
to provide it. However, DependencyConstraints.groovy was missing the
version constraint for com.fasterxml.jackson.dataformat.* artifacts.
This caused the published geode-core-2.0.0.pom to have
jackson-dataformat-yaml
with no <version> tag, making the POM invalid according to Maven
specification.
Maven refuses to process ANY transitive dependencies from an invalid POM,
which caused all dependencies (antlr, jopt-simple, micrometer-core,
shiro-core,
jakarta.transaction-api, geode-management, geode-deployment-legacy, rmiio)
to
not be pulled transitively.
This fix adds the missing dependency constraint for jackson-dataformat-yaml,
using jackson.version (2.17.0) to match other Jackson artifacts.
Issue reported by Leon during 2.0.0.RC2 testing.
---
.../org/apache/geode/gradle/plugins/DependencyConstraints.groovy | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
index 972b5da060..352fc1bdcc 100644
---
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
+++
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
@@ -232,6 +232,10 @@ class DependencyConstraints {
entry('jackson-datatype-jsr310')
}
+ dependencySet(group: 'com.fasterxml.jackson.dataformat', version:
get('jackson.version')) {
+ entry('jackson-dataformat-yaml')
+ }
+
dependencySet(group: 'com.jayway.jsonpath', version: '2.7.0') {
entry('json-path-assert')
entry('json-path')