Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-289

Incorrect warning with javax.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: analyze
    • Labels:
    • Environment:
      OS : Windows XP
      Maven 2.2.1
      Java 1.5

      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

        1. sandbox.zip
          4 kB
          zaccret

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zaccret zaccret
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: