Skip to content

Commit cd4b3bb

Browse files
committed
Simplify dependency declarations; all core components via parent pom
1 parent e0ca2d6 commit cd4b3bb

File tree

6 files changed

+11
-52
lines changed

6 files changed

+11
-52
lines changed

avro/pom.xml

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

3636
<dependencies>
37-
<!-- Hmmh. Need annotations for introspection... -->
38-
<dependency>
39-
<groupId>com.fasterxml.jackson.core</groupId>
40-
<artifactId>jackson-annotations</artifactId>
41-
</dependency>
42-
<!-- and databind for Avro Schema generation... -->
43-
<dependency>
44-
<groupId>tools.jackson.core</groupId>
45-
<artifactId>jackson-databind</artifactId>
46-
</dependency>
37+
<!-- Core deps from parent -->
38+
4739
<dependency>
4840
<groupId>org.apache.avro</groupId>
4941
<artifactId>avro</artifactId>

cbor/pom.xml

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

4040
<dependencies>
41-
<dependency>
42-
<groupId>tools.jackson.core</groupId>
43-
<artifactId>jackson-databind</artifactId>
44-
</dependency>
45-
46-
<!-- annotations for testing -->
47-
<dependency>
48-
<groupId>com.fasterxml.jackson.core</groupId>
49-
<artifactId>jackson-annotations</artifactId>
50-
<scope>provided</scope>
51-
</dependency>
5241
</dependencies>
5342

5443
<build>

ion/pom.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,6 @@ tree model)
4141
<version>1.11.9</version>
4242
</dependency>
4343

44-
<!-- Extends Jackson core, databind -->
45-
<dependency>
46-
<groupId>com.fasterxml.jackson.core</groupId>
47-
<artifactId>jackson-annotations</artifactId>
48-
</dependency>
49-
<dependency>
50-
<groupId>tools.jackson.core</groupId>
51-
<artifactId>jackson-core</artifactId>
52-
</dependency>
53-
<dependency>
54-
<groupId>tools.jackson.core</groupId>
55-
<artifactId>jackson-databind</artifactId>
56-
</dependency>
57-
5844
<!-- will come from parent pom for later versions -->
5945
<dependency>
6046
<groupId>org.hamcrest</groupId>

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,19 @@
5757
</properties>
5858

5959
<dependencies>
60-
<!-- all dataformats extend core so just include here -->
60+
<!-- all dataformats extend core and databind, annotations; include here -->
61+
<dependency>
62+
<groupId>com.fasterxml.jackson.core</groupId>
63+
<artifactId>jackson-annotations</artifactId>
64+
</dependency>
6165
<dependency>
6266
<groupId>tools.jackson.core</groupId>
6367
<artifactId>jackson-core</artifactId>
6468
</dependency>
69+
<dependency>
70+
<groupId>tools.jackson.core</groupId>
71+
<artifactId>jackson-databind</artifactId>
72+
</dependency>
6573

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

protobuf/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ abstractions.
4646
<version>4.0.3</version>
4747
</dependency>
4848

49-
<dependency>
50-
<groupId>tools.jackson.core</groupId>
51-
<artifactId>jackson-databind</artifactId>
52-
</dependency>
5349
</dependencies>
5450

5551
<build>

smile/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ tree model)
3434
</properties>
3535

3636
<dependencies>
37-
38-
<dependency>
39-
<groupId>tools.jackson.core</groupId>
40-
<artifactId>jackson-databind</artifactId>
41-
</dependency>
42-
43-
<!-- We need annotations just for testing -->
44-
<dependency>
45-
<groupId>com.fasterxml.jackson.core</groupId>
46-
<artifactId>jackson-annotations</artifactId>
47-
<scope>provided</scope>
48-
</dependency>
4937
</dependencies>
5038

5139
<build>

0 commit comments

Comments
 (0)