Fork me on GitHub

The duplicate finder plugin allows global exclusion of dependencies, classes and resources. Any matching dependency or resource will not be considered duplicate, no matter how often it appears on the classpath.

This feature is very easy to abuse. Please use with care.

<configuration>
  <useDefaultResourceIgnoreList>true</useDefaultResourceIgnoreList>
  <ignoredClassPatterns>
    <ignoredClassPattern>...</ignoredClassPattern>
  </ignoredClassPatterns>
  <ignoredResourcePatterns>
    <ignoredResourcePattern>...</ignoredResourcePattern>
  </ignoredResourcePatterns>
  <ignoredDependencies>
    <dependency>
      <artifactId>...</artifactId>
      <groupId>...</groupId>
      <version>...</version>
      <type>...</type>
      <classifier>...</classifier>
    </dependency>
  </ignoredDependencies>
</configuration>