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 16fd9e0
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 @@ -395,21 +395,40 @@ SOFTWARE.
<id>qulice</id>
<build>
<plugins>
<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.
-->
</plugin>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>${qulice.version}</version>
<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 16fd9e0

Please sign in to comment.