Skip to content

Commit

Permalink
Depend on JSON API plugin, not outdated transitive dependency (#160)
Browse files Browse the repository at this point in the history
The emoji-java library has a transitive dependency on a 2017 version of
the JSON library.  The licensing of the 2017 version of the JSON library
is not as clear as the licensing of the most recent library version.

The most recent library version is available as a Jenkins API plugin.
Depend on the Jenkins JSON API plugin instead of bundling the old JSON
API jar file in the plugin.
  • Loading branch information
MarkEWaite authored Jun 25, 2024
1 parent 9eebe6e commit f7955d4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,18 @@
<groupId>com.vdurmont</groupId>
<artifactId>emoji-java</artifactId>
<version>5.1.1</version>
<exclusions>
<exclusion>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Depend on JSON API plugin rather than the transitive
x dependency of the old JSON API from emoji-java -->
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>json-api</artifactId>
</dependency>
<dependency>
<groupId>org.commonmark</groupId>
Expand Down

0 comments on commit f7955d4

Please sign in to comment.