Managing exceptions is an important aspect for the duplicate finder plugin. Often, third-party dependencies, that can not be changed have conflicts or include classes and resources that are duplicate with other classpath elements.
The duplicate finder plugin allows listing and excluding these conflicts.
<configuration>
<exceptions>
<exception>
<conflictingDependencies>
<dependency>
<artifactId>...</artifactId>
<groupId>...</groupId>
<version>...</version>
<type>...</type>
<classifier>...</classifier>
</dependency>
...
</conflictingDependencies>
<currentProject>false</currentProject>
<!-- Version 1.1.1+, removed in 2.0.0 -->
<bootClasspath>false</bootClasspath>
<!-- Version 1.1.1+, removed in 2.0.0 -->
<resourcePatterns>
<resourcePattern>...</resourcePattern>
</resourcePatterns>
<classes>
<class>...</class>
</classes>
<packages>
<package>...</package>
</packages>
<resources>
<resource>...</resource>
</resources>
</exception>
</exceptions>
</configuration>