You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2020/07/12 13:28:00 UTC
[jira] [Updated] (MDEP-289) Incorrect warning with javax.xml
[ https://issues.apache.org/jira/browse/MDEP-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MDEP-289:
---------------------------------------
Labels: intern (was: )
> Incorrect warning with javax.xml
> --------------------------------
>
> Key: MDEP-289
> URL: https://issues.apache.org/jira/browse/MDEP-289
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: analyze
> Affects Versions: 2.1
> Environment: OS : Windows XP
> Maven 2.2.1
> Java 1.5
> Reporter: zaccret
> Priority: Major
> Labels: intern
> Attachments: sandbox.zip
>
>
> 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 ?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)