[ https://issues.apache.org/jira/browse/MSHARED-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16327953#comment-16327953 ]
Sylwester Lachiewicz commented on MSHARED-47: --------------------------------------------- I have something that can help - i found that with jre there is file lib/classlist distrinuted with class list inside JRE I have not found any documentation about this feature, but only this reference: {noformat} JDK-8168108 lib/classlist should be packaged in java.base.jmod{noformat} > maven-dependency-analyzer finds too many used dependencies > ---------------------------------------------------------- > > Key: MSHARED-47 > URL: https://issues.apache.org/jira/browse/MSHARED-47 > Project: Maven Shared Components > Issue Type: Bug > Components: maven-dependency-analyzer > Reporter: Matthew Beermann > Assignee: Brian Fox > Priority: Major > Attachments: MNG-3620-maven-dependency-analyzer.patch > > > I'll just quote the post from our internal mailing list: > "I don't like that plugin - it has reported dozens of missing dependencies > that were unnecessary for me, so I stopped using it. The most common example > is when you have a dependency on a project that has a dependency on Xerces, > Xalan or some other XML project and your project has java.xml.* imports, > which you're resolving from the JDK, it gives a higher priority to external > dependencies, even if another project introduces them, than it does to JDK > libraries." > I've got a (possible) patch coming up in a few... -- This message was sent by Atlassian JIRA (v7.6.3#76005)