Skip to content

Commit

Permalink
Move snakeyaml dependency into library
Browse files Browse the repository at this point in the history
Declare the dependency as narrowly as possible
  • Loading branch information
MarkEWaite committed Sep 23, 2022
1 parent a0d7361 commit ec27c39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
11 changes: 11 additions & 0 deletions plugin-management-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
<version>${revision}${changelist}</version>
<packaging>jar</packaging>

<dependencyManagement>
<dependencies>
<!-- TODO: Remove when jackson dataformat snakeyaml dependency is at least 1.32 -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.32</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.jenkins-ci</groupId>
Expand Down
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,9 @@
<artifactId>slf4j-api</artifactId>
<version>2.0.1</version>
</dependency>
<!-- TODO: Remove this when jackson dataformat updates their snakeyaml dependency to at least 1.32 -->
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.32</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
Expand Down

0 comments on commit ec27c39

Please sign in to comment.