maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MJAVADOC-526) aggregate goal doesn't respect managed dependencies
Date Wed, 19 Dec 2018 21:48:00 GMT

     [ https://issues.apache.org/jira/browse/MJAVADOC-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte updated MJAVADOC-526:
------------------------------------
    Summary: aggregate goal doesn't respect managed dependencies  (was: aggregate goal fails
while javadoc goal passes)

> aggregate goal doesn't respect managed dependencies
> ---------------------------------------------------
>
>                 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
>            Priority: Major
>         Attachments: MJAVADOC-526_aggr-managedDeps.zip
>
>
> 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)

Mime
View raw message