Skip to content

Commit 487738e

Browse files
authored
Fix #628 for 2.x (#632)
1 parent 1267f13 commit 487738e

File tree

7 files changed

+33
-23
lines changed

7 files changed

+33
-23
lines changed

avro/pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,21 @@ abstractions.
3434
</properties>
3535

3636
<dependencies>
37-
<!-- Hmmh. Need annotations for introspection... -->
37+
<!-- Depend on Jackson core components -->
3838
<dependency>
3939
<groupId>com.fasterxml.jackson.core</groupId>
4040
<artifactId>jackson-annotations</artifactId>
4141
</dependency>
42-
<!-- and databind for Avro Schema generation... -->
42+
<dependency>
43+
<groupId>com.fasterxml.jackson.core</groupId>
44+
<artifactId>jackson-core</artifactId>
45+
</dependency>
4346
<dependency>
4447
<groupId>com.fasterxml.jackson.core</groupId>
4548
<artifactId>jackson-databind</artifactId>
4649
</dependency>
50+
51+
<!-- Also on Apache Avro codec for some encoding/decoding -->
4752
<dependency>
4853
<groupId>org.apache.avro</groupId>
4954
<artifactId>avro</artifactId>

cbor/pom.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ encoded data using Jackson abstractions (streaming API, data binding, tree model
3838
</properties>
3939

4040
<dependencies>
41-
<!-- 23-Mar-2020, tatu: for 2.10 we have `CBORMapper` which needs databind, too;
42-
added as full dependency in 2.11
43-
-->
41+
<!-- We depend on Jackson core components; annotations optionally/for tests -->
42+
<dependency>
43+
<groupId>com.fasterxml.jackson.core</groupId>
44+
<artifactId>jackson-core</artifactId>
45+
</dependency>
4446
<dependency>
4547
<groupId>com.fasterxml.jackson.core</groupId>
4648
<artifactId>jackson-databind</artifactId>

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@
5757

5858
<dependencies>
5959
<!-- all dataformats extend core so just include here -->
60-
<dependency>
61-
<groupId>com.fasterxml.jackson.core</groupId>
62-
<artifactId>jackson-core</artifactId>
63-
</dependency>
60+
<!-- 01-Nov-2025, tatu: [dataformats-binary#628] No more-->
6461

6562
<!-- 11-Jan-2025, joohyukkim: For JSTEP-10, migrate to JUnit5 -->
6663
<dependency>

protobuf/pom.xml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,28 @@ abstractions.
3939
</properties>
4040

4141
<dependencies>
42-
<!-- uses protostuff libs for parsing, generation -->
42+
<!-- We depend on Jackson core components; annotations optionally/for tests -->
4343
<dependency>
44-
<groupId>com.squareup</groupId>
45-
<artifactId>protoparser</artifactId>
46-
<version>4.0.3</version>
44+
<groupId>com.fasterxml.jackson.core</groupId>
45+
<artifactId>jackson-core</artifactId>
4746
</dependency>
48-
49-
<!-- Hmmh. Need databind for schema generation, convenience ProtobufMapper.
50-
And starting with 2.10(.4), there is only explicit mapper:
51-
-->
5247
<dependency>
5348
<groupId>com.fasterxml.jackson.core</groupId>
5449
<artifactId>jackson-databind</artifactId>
5550
</dependency>
56-
57-
<!-- and for testing, JUnit is needed; as well as annotations -->
51+
<!-- for testing we need annotations -->
5852
<dependency>
5953
<groupId>com.fasterxml.jackson.core</groupId>
6054
<artifactId>jackson-annotations</artifactId>
6155
<scope>provided</scope>
6256
</dependency>
57+
58+
<!-- uses protostuff libs for parsing, generation -->
59+
<dependency>
60+
<groupId>com.squareup</groupId>
61+
<artifactId>protoparser</artifactId>
62+
<version>4.0.3</version>
63+
</dependency>
6364
</dependencies>
6465

6566
<build>

release-notes/CREDITS-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,8 @@ Manuel Sugawara (@sugmanue)
390390
Josh Curry (@seadbrane)
391391
* Reported, contributed fix for #571: Unable to deserialize a pojo with IonStruct
392392
(2.19.0)
393+
* Reported #628: Uncommon parent pom dependency configuration in Jackson 2.20/3.0
394+
(2.21.0)
393395

394396
Rafael Winterhalter (@raphw)
395397
* Reported #589: AvroSchema: Does not include base class for records

release-notes/VERSION-2.x

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Active maintainers:
2020
(reported by Yohei K)
2121
#623: (ion) Upgrade `ion-java` dep to 1.11.11 (from 1.11.10)
2222
(requested by @Shaurya0108)
23+
#628: Uncommon parent pom dependency configuration in Jackson 2.20/3.0
24+
(reported by Josh C)
2325

2426
2.20.1 (30-Oct-2025)
2527

smile/pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ tree model)
3434
</properties>
3535

3636
<dependencies>
37-
38-
<!-- 08-Oct-2018, tatu: for 2.10 we have `SmileMapper` which needs databind;
39-
but only added as full dependency in 2.11
40-
-->
37+
<!-- We depend on Jackson core components; annotations optionally/for tests -->
38+
<dependency>
39+
<groupId>com.fasterxml.jackson.core</groupId>
40+
<artifactId>jackson-core</artifactId>
41+
</dependency>
4142
<dependency>
4243
<groupId>com.fasterxml.jackson.core</groupId>
4344
<artifactId>jackson-databind</artifactId>

0 commit comments

Comments
 (0)