Commit 74cf647
authored
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.1 parent 64fe780 commit 74cf647
File tree
1 file changed
+4
-0
lines changed- build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
| |||
0 commit comments