Details
Description
When you use some javax.xml classes in a project and that you have transitive dependencies containing these classes, you will get a warning if you analyze your dependencies (Used undeclared dependencies found), even if the classes you use are contained in your JDK.
I attach a project using javax.xml.parsers.DocumentBuilder which is included in Java Class Library (rt.jar) but also in a transitive dependency (xml-apis).
I think we should not get a warning because the Java Class Library should be the first library found in the classpath, doesn't it ?
Attachments
Attachments
Issue Links
- depends upon
-
MSHARED-47 maven-dependency-analyzer finds too many used dependencies
- Open
- relates to
-
MDEP-122 Analyze target does not work correctly when only using a constant defined in a different module
- Closed