this plugin is to avoid duplicate classes by maven dependencies with different groupID
- To integrate
<plugin>
<groupId>com.github.ramonnteixeira</groupId>
<artifactId>dependency-analize-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>duplicated-class</goal>
</goals>
</execution>
</executions>
</plugin>
- It is possible to configure the exceptions list will be ignored for the plugin.
<plugin>
<groupId>com.github.ramonnteixeira</groupId>
<artifactId>dependency-analize-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<goals>
<goal>duplicated-class</goal>
</goals>
</execution>
<configuration>
<exceptions>
<exception>
<dependency1>artifact-version.jar</dependency1>
<dependency2>otherartifact-version.jar</dependency2>
</exception>
</exceptions>
</configuration>
</executions>
</plugin>