Remove warnings for duplicated classes when building with Maven

v2
pabloFuente 2025-11-11 16:53:04 +01:00
parent 3353cd14e5
commit 8772efaf46
2 changed files with 24 additions and 4 deletions

View File

@ -239,6 +239,14 @@
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>aopalliance-repackaged</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>jakarta.inject</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
@ -290,8 +298,6 @@
</dependency>
<!-- Test dependencies -->
<dependency>
@ -317,4 +323,4 @@
</dependencies>
</project>
</project>

View File

@ -106,6 +106,20 @@
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java</artifactId>
<version>${version.dockerjava}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>aopalliance-repackaged</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish.hk2.external</groupId>
<artifactId>jakarta.inject</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
@ -153,4 +167,4 @@
</dependencies>
</project>
</project>