Incorrect warning with javax.xml
--------------------------------

                 Key: MDEP-289
                 URL: http://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
            Assignee: Brian Fox
         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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to