You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2018/09/22 00:39:00 UTC

[jira] [Created] (MINVOKER-243) invoker:install doesn't copy transitive dependencies anymore (as of 3.1.0)

Christopher Tubbs created MINVOKER-243:
------------------------------------------

             Summary: invoker:install doesn't copy transitive dependencies anymore (as of 3.1.0)
                 Key: MINVOKER-243
                 URL: https://issues.apache.org/jira/browse/MINVOKER-243
             Project: Maven Invoker Plugin
          Issue Type: Bug
    Affects Versions: 3.1.0
            Reporter: Christopher Tubbs


Something seems to have broken between 3.0.1 and 3.1.0, as the install goal no longer copies transitive dependencies to the localRepositoryPath as it did in version 3.0.1.

This is very problematic, because if the artifacts are not in the localRepositoryPath, the invoked project will try to download them from a remote repository, which isn't possible for SNAPSHOT versions (such as those in a sibling module in a multi-module project). This can make it difficult to even build a multi-module project, unless the invoked task is skipped and the sibling module can be published to a remote snapshot repository temporarily, and then the build re-executed normally. (Saw this happen in Apache Accumulo after upgrading to apache-21.pom)



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