You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Karg (JIRA)" <ji...@apache.org> on 2017/06/29 12:18:00 UTC

[jira] [Created] (MDEP-573) "purge-local-repository -Dinclude" does not work as described

Markus Karg created MDEP-573:
--------------------------------

             Summary: "purge-local-repository -Dinclude" does not work as described
                 Key: MDEP-573
                 URL: https://issues.apache.org/jira/browse/MDEP-573
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: purge-local-repository
    Affects Versions: 3.0.1
         Environment: Win 7, 64 Bit, JDK 8u92, MVN 3.5.0, MDEP 3.0.1
            Reporter: Markus Karg


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)