Skip to content

Commit bbf1ae0

Browse files
committed
Add maven dependencyManagement to always get correct version of jackson
1 parent 5c18c42 commit bbf1ae0

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@
9090
</repository>
9191
</distributionManagement>
9292

93+
<dependencyManagement>
94+
<dependencies>
95+
<dependency>
96+
<groupId>com.fasterxml.jackson</groupId>
97+
<artifactId>jackson-bom</artifactId>
98+
<version>${jackson.version}</version>
99+
<type>pom</type>
100+
<scope>import</scope>
101+
</dependency>
102+
</dependencies>
103+
</dependencyManagement>
104+
93105
<build>
94106
<plugins>
95107
<plugin>

spotify-web-api-core/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@
2727
<dependency>
2828
<groupId>com.fasterxml.jackson.core</groupId>
2929
<artifactId>jackson-databind</artifactId>
30-
<version>${jackson.version}</version>
3130
</dependency>
3231
<dependency>
3332
<groupId>com.fasterxml.jackson.dataformat</groupId>
3433
<artifactId>jackson-dataformat-yaml</artifactId>
35-
<version>${jackson.version}</version>
3634
</dependency>
3735
<dependency>
3836
<groupId>org.projectlombok</groupId>

spotify-web-api-generator-open-api/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
<artifactId>spotify-web-api-core</artifactId>
3434
<version>2021.7.20</version>
3535
</dependency>
36+
<dependency>
37+
<groupId>com.fasterxml.jackson.core</groupId>
38+
<artifactId>jackson-databind</artifactId>
39+
</dependency>
3640
<dependency>
3741
<groupId>io.swagger.core.v3</groupId>
3842
<artifactId>swagger-core</artifactId>

spotify-web-api-parser/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@
3939
<dependency>
4040
<groupId>com.fasterxml.jackson.core</groupId>
4141
<artifactId>jackson-databind</artifactId>
42-
<version>${jackson.version}</version>
4342
</dependency>
4443
<dependency>
4544
<groupId>com.fasterxml.jackson.dataformat</groupId>
4645
<artifactId>jackson-dataformat-yaml</artifactId>
47-
<version>${jackson.version}</version>
4846
</dependency>
4947
<dependency>
5048
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)