Configures Qulice exclusions
@@ -373,6 +373,30 @@ SOFTWARE.
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.ning.maven.plugins</groupId>
+ <artifactId>duplicate-finder-maven-plugin</artifactId>
+ <configuration>
+ <ignoredDependencies>
+ <dependency>
+ <groupId>javax.json</groupId>
+ <artifactId>javax.json-api</artifactId>
+ <version>1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.0</version>
+ </dependency>
+ </ignoredDependencies>
+ </configuration>
+ <!--
+ @todo #958:30min duplicate-finder-maven-plugin found module-info as duplicate
+ and different class in [javax.json:javax.json-api:1.1,javax.xml.bind:jaxb-api:2.3.0].
+ After resolving duplicatefinder in Qulice, remove this plugin and configure qulice
+ plugin to enable these exclusions (see at https://www.qulice.com/qulice-maven-plugin/example-exclude.html).
+ -->
+ </plugin>
</plugins>
</build>
<profiles>
@@ -402,14 +426,9 @@ SOFTWARE.
<configuration>
<excludes combine.children="append">
<exclude>checkstyle:/src/site/resources/.*</exclude>
- <exclude>dependencies:javax.json:javax.json-api</exclude>
- <exclude>dependencies:javax.xml.bind:jaxb-api</exclude>
- <!--
- @todo #958:30min FindBugs found duplicate and different classes
- in [javax.json:javax.json-api:1.1,javax.xml.bind:jaxb-api:2.3.0].
- We suggest locate these classes and use Maven shade plugin to exclude them.
- After resolving this ticket, remove here exclusion of theses two dependencies.
- -->
+ <exclude>duplicate:javax.json:javax.json-api:1.1</exclude>
+ <exclude>duplicate:javax.xml.bind:jaxb-api:2.3.0</exclude>
+
</excludes>
</configuration>
</plugin>
