Skip to content

Commit 4447843

Browse files
zoewanggdavidh44
andauthored
Remove explicit Jackson dependency from v2-migration module (#5612)
* Remove explicit Jackson dependency from v2-migration module * Fix build * Fix exclusion --------- Co-authored-by: David Ho <[email protected]>
1 parent f1e0f55 commit 4447843

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

v2-migration/pom.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<openrewrite.version>2.17.0</openrewrite.version>
3838
<junit.version>5.10.3</junit.version>
3939
<awssdkjavav1.version>1.12.472</awssdkjavav1.version>
40-
<jacksondatabind.version>2.17.2</jacksondatabind.version>
4140
</properties>
4241

4342
<dependencyManagement>
@@ -82,13 +81,6 @@
8281
<artifactId>rewrite-java-dependencies</artifactId>
8382
<scope>runtime</scope>
8483
</dependency>
85-
<!-- We have to explicitly add jackson dependency to fix import issue
86-
TODO: remove this once it's fixed. See JAVA-7848-->
87-
<dependency>
88-
<groupId>com.fasterxml.jackson.core</groupId>
89-
<artifactId>jackson-databind</artifactId>
90-
<version>${jacksondatabind.version}</version>
91-
</dependency>
9284
<dependency>
9385
<groupId>software.amazon.awssdk</groupId>
9486
<artifactId>utils</artifactId>
@@ -236,6 +228,16 @@
236228
<artifactId>test-utils</artifactId>
237229
<version>${awsjavasdk.version}</version>
238230
<scope>test</scope>
231+
<exclusions>
232+
<exclusion>
233+
<groupId>com.fasterxml.jackson.core</groupId>
234+
<artifactId>jackson-core</artifactId>
235+
</exclusion>
236+
<exclusion>
237+
<groupId>com.fasterxml.jackson.core</groupId>
238+
<artifactId>jackson-databind</artifactId>
239+
</exclusion>
240+
</exclusions>
239241
</dependency>
240242
</dependencies>
241243

0 commit comments

Comments
 (0)