Skip to content

Commit 8fc08ee

Browse files
MarkEWaitejakub-bochenski
authored andcommitted
Exclude dependencies already provided by Jenkins core or plugins
* Jenkins GSON API plugin * Jenkins JSON API plugin * Jenkins core
1 parent eaf1b6e commit 8fc08ee

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,21 @@
9393
<artifactId>jedis</artifactId>
9494
<version>5.1.0</version>
9595
<exclusions>
96+
<!-- Provided by Jenkins gson API plugin -->
97+
<exclusion>
98+
<groupId>com.google.code.gson</groupId>
99+
<artifactId>gson</artifactId>
100+
</exclusion>
101+
<!-- Provided by Jenkins JSON API plugin -->
102+
<exclusion>
103+
<groupId>org.json</groupId>
104+
<artifactId>json</artifactId>
105+
</exclusion>
96106
<!-- Provided by Jenkins core -->
107+
<exclusion>
108+
<groupId>org.slf4j</groupId>
109+
<artifactId>slf4j-api</artifactId>
110+
</exclusion>
97111
<exclusion>
98112
<groupId>org.ow2.asm</groupId>
99113
<artifactId>*</artifactId>
@@ -104,6 +118,13 @@
104118
<groupId>com.rabbitmq</groupId>
105119
<artifactId>amqp-client</artifactId>
106120
<version>5.20.0</version>
121+
<exclusions>
122+
<!-- Provided by Jenkins core -->
123+
<exclusion>
124+
<groupId>org.slf4j</groupId>
125+
<artifactId>slf4j-api</artifactId>
126+
</exclusion>
127+
</exclusions>
107128
</dependency>
108129
<dependency>
109130
<groupId>io.jenkins.plugins</groupId>

0 commit comments

Comments
 (0)