Leonid Rozenblyum created MJAVADOC-526:
------------------------------------------

             Summary: aggregate goal fails while javadoc goal passes
                 Key: MJAVADOC-526
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-526
             Project: Maven Javadoc Plugin
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Leonid Rozenblyum


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to