You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Roman Huber (Jira)" <ji...@apache.org> on 2024/09/09 12:57:00 UTC

[jira] [Created] (MDEP-953) Extend goal to allow configuration of the artifacts from which the dependencies should be copied

Roman Huber created MDEP-953:
--------------------------------

             Summary: Extend goal to allow configuration of the artifacts from which the dependencies should be copied
                 Key: MDEP-953
                 URL: https://issues.apache.org/jira/browse/MDEP-953
             Project: Maven Dependency Plugin
          Issue Type: Wish
          Components: copy-dependencies
            Reporter: Roman Huber


Currently the dependencies of the artifact for which Maven is called are copied. I'd be nice if this function is not limited to the current artifact. It should be possible to configure the artifact(s) from which the dependencies should be copied.

The dependency:copy goal accepts a list of artifactItems to be copied. Maybe this goal could be extended to include transitive dependencies of those artifactItems.

The problem with both approaches is that the resolved dependencies of these artifacts must match their versions.



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