Skip to content

Commit cbbdf36

Browse files
committedJun 10, 2020
[JENKINS-50202] Include jackson-dataformat-yaml
Add snakeyaml dependency through the snakeyaml-api plugin
1 parent b7941a1 commit cbbdf36

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
 

‎pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@
8989
</pluginRepository>
9090
</pluginRepositories>
9191

92+
<dependencyManagement>
93+
<dependencies>
94+
<dependency>
95+
<groupId>io.jenkins.tools.bom</groupId>
96+
<artifactId>bom-2.164.x</artifactId>
97+
<version>10</version>
98+
<scope>import</scope>
99+
<type>pom</type>
100+
</dependency>
101+
</dependencies>
102+
</dependencyManagement>
103+
92104
<dependencies>
93105
<dependency>
94106
<groupId>com.fasterxml.jackson.core</groupId>
@@ -125,5 +137,22 @@
125137
<artifactId>jackson-module-jaxb-annotations</artifactId>
126138
<version>${jackson.version}</version>
127139
</dependency>
140+
141+
<dependency>
142+
<groupId>com.fasterxml.jackson.dataformat</groupId>
143+
<artifactId>jackson-dataformat-yaml</artifactId>
144+
<version>${jackson.version}</version>
145+
<exclusions>
146+
<exclusion>
147+
<groupId>org.yaml</groupId>
148+
<artifactId>snakeyaml</artifactId>
149+
</exclusion>
150+
</exclusions>
151+
</dependency>
152+
153+
<dependency>
154+
<groupId>io.jenkins.plugins</groupId>
155+
<artifactId>snakeyaml-api</artifactId>
156+
</dependency>
128157
</dependencies>
129158
</project>

0 commit comments

Comments
 (0)