You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/10/11 18:50:00 UTC

[jira] [Commented] (MDEP-830) Dependencies of explicit dependencies of plugins are not resolved

    [ https://issues.apache.org/jira/browse/MDEP-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616030#comment-17616030 ] 

Michael Osipov commented on MDEP-830:
-------------------------------------

Provide a sample project.

> Dependencies of explicit dependencies of plugins are not resolved
> -----------------------------------------------------------------
>
>                 Key: MDEP-830
>                 URL: https://issues.apache.org/jira/browse/MDEP-830
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: resolve-plugins
>    Affects Versions: 3.3.0
>            Reporter: Donal Fellows
>            Priority: Minor
>
> *Context:* I'm using Error Prone following the instructions [here|https://errorprone.info/docs/installation]. That involves using an added dependency of the maven compile plugin (specifically _com.google.errorprone:error_prone_core:2.15.0_ but I don't believe that that detail is so critical), where that added dependency defines an additional static checker. That plugin to the maven compiler plugin itself has its own dependencies (protobuf and a few other things; their exact identity is unimportant I believe, other than that they're not otherwise dependencies of the project).
> *Problem:* When I use {_}mvn dependency:resolve-plugins{_}, the dependencies of the _error_prone_core_ maven module are not downloaded. This is rather noticeable in my continuous integration flows, where I'm using the _resolve_ and _resolve-plugins_ goals to ensure that network activity is minimised and only performed at the beginning of the workflow (to try to promote reliability).  I happen to only be defining these things in a profile, but that profile is activated at the point where the _resolve-plugins_ goal is called.
> *What I want to see:* _resolve-plugins_ follow that particular rabbit hole as well, and find and download the dependencies of the dependencies of the plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)