[
https://jira.codehaus.org/browse/MDEP-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314043#comment-314043
]
Arnaud Heritier commented on MDEP-289:
--------------------------------------
I agree with your anlyze and he fact that classes included in the JDK shouldn't
be reported as missing deps (but I don't know how to fix that for now - without
a dirty hack)
> Incorrect warning with javax.xml
> --------------------------------
>
> Key: MDEP-289
> URL: https://jira.codehaus.org/browse/MDEP-289
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: analyze
> Affects Versions: 2.1
> Environment: OS : Windows XP
> Maven 2.2.1
> Java 1.5
> Reporter: zaccret
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira