Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-243

invoker:install doesn't copy transitive dependencies anymore (as of 3.1.0)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              ctubbsii Christopher Tubbs
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: