Menu
  • HOME
  • TAGS

How to ignore or fix the duplicate classes warning in Qulice?

java,maven,code-quality,qulice

The best you can do is this: <plugin> <groupId>com.qulice</groupId> <artifactId>qulice-maven-plugin</artifactId> <configuration> <excludes> <exclude>duplicatefinder:.*</exclude> </excludes> </configuration> </plugin> See how it's done in pom.xml of rultor, for example. You're basically disabling the entire duplicate finder check. There is no way to disable just one artifact, at the moment. ps. In your specific...

How to disable duplicate dependencies check in Qulice?

java,maven,qulice

The plugins section in a POM allows to manage the dependencies (for that plugin), especially exclusions. So the configuration looks something like that: <build> <plugins> <plugin> <groupId>com.qulice</groupId> <artifactId>qulice-maven-plugin</artifactId> <version>0.12.1</version> <configuration>...</configuration> <executions>...</executions> <dependencies> <dependency> <groupId>...</groupId>...