Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-573

"purge-local-repository -Dinclude" does not work as described

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: 3.0.2
    • Component/s: purge-local-repository
    • Labels:
      None
    • Environment:
      Win 7, 64 Bit, JDK 8u92, MVN 3.5.0, MDEP 3.0.1

      Description

      When I run mvn generate-sources on a POM which binds the goal purge-local-repository to that phase, then MDEP correctly purges and re-resolves the all dependencies of all submodules.

      When I instead run mvn dependency:purge-local-repository then the reactor skips all submodules.

      This in rather annoying and surprising, because nowhere in the public description of MDEP is told that invoking dependency:purge-local-repository at the command line as the sole goal will effectively skip submodules of the POM.

      If this is not intended, this bug should get fixed.

      If this is intended, then the documentation of this goal should clearly tell that.

        Attachments

          Activity

            People

            • Assignee:
              gboue Guillaume Boué
              Reporter:
              mkarg Markus Karg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: