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

Incorrect warning with javax.xml

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1
    • None
    • analyze
    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zaccret zaccret

            Dates

              Created:
              Updated:

              Slack

                Issue deployment