Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-526

aggregate goal doesn't respect managed dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • None
    • None

    Description

      SCENARIO:
      (NOTE: see the repository: https://github.com/lrozenblyum/maven-javadoc-plugin-aggregate-bug)

      Parent and a child project.

      Child project has dependency with scope: runtime.
      One of its transitive dependencies is overriden in dependencyManagement with scope: compile
      The transitive dependency is used in Java code of the chold project and is referred in @throws tag

      EXPECTED:
      mvn javadoc:aggregate on the parent project succeeds

      ACTUALLY:
      mvn javadoc:aggregate on the parent project fails
      with error: error: reference not found
      [ERROR] * @throws BadCredentialsException)
      mvn javadoc:javaoc on the child project succeeds

      NOTE: the workaround is rollback to maven-javadoc-plugin 2.10.4

      Attachments

        1. MJAVADOC-526_aggr-managedDeps.zip
          5 kB
          Robert Scholte

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              leokom Leonid Rozenblyum
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: