Comments (6)
Wondering if the mentioned PR mentioned above would get merged?
from duplicate-finder-maven-plugin.
Hi, thanks for the ping. This is related to multi-release jars and requires a more comprehensive change to the plugin. I am planning to do this when I find time.
As a workaround, you can add this pattern in your pom as well.
from duplicate-finder-maven-plugin.
Thanks for the quick reply. I have added the ignore pattern to my pom for the time being.
Thanks for your work on producing a very useful plugin!!
from duplicate-finder-maven-plugin.
This problem is continuing to spread -- latest releases of very popular jars like assertj
and byte-buddy
now conflict with each other.
from duplicate-finder-maven-plugin.
I need to find time to work out how to deal with multi-release jars. PRs very welcome
from duplicate-finder-maven-plugin.
This is fixed in the next version. I am planning that the next version will be the last one that runs on JDK8 and the one after will be JDK9+ exclusive.
In that version, I am planning to do more work with multi-release jars; currently there is a corner case where a duplicate class is not detected:
Base jar contains no conflicts
|
+-- META-INF/versions/9/A.class is a conflict with an existing class on the class path
the current plugin would not detect this conflict when running under JDK9. To be able to manage these type of conflicts, the code must analyze the Multi-Release flag from the manifest and then build a map on which classes are actually visible on the class path. Very doable but I see no point in doing this for the JDK 8 version.
from duplicate-finder-maven-plugin.
Related Issues (20)
- Exception thrown for classes where package name directory contains '.' HOT 4
- Ignore Java 9's module-info classes by default HOT 4
- SonarQube integration HOT 1
- java.lang.IllegalArgumentException: value already present HOT 4
- Potential security vulnerability with a dependency: CVE-2018-10237.
- Potential security vulnerability with a dependency: CVE-2017-1000487.
- Display dependency paths of conflicting artifacts HOT 1
- post JDK 8 work
- Provide reporting target HOT 1
- Does the plugin work with Kotlin? HOT 3
- Allow specifying only groupId for conflictingDependencies
- Find modules/classpath duplicates for JDK11
- doesn't seem to work with mvnd
- Replace/remove slf4j-log4j12 HOT 2
- Can I check classes with the same class name in one project? HOT 1
- externalize exceptions
- Unable to find dependency for this plugin HOT 1
- conflictState="content-different"
- Update guava version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicate-finder-maven-plugin.