Skip to content

Commit

Permalink
Configures Qulice exclusions yegor256#958
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier B. OURA committed Sep 8, 2021
1 parent 64df52c commit 2f413bb
Showing 1 changed file with 27 additions and 8 deletions.
35 changes: 27 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 2f413bb

Please sign in to comment.