You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (Jira)" <ji...@apache.org> on 2025/02/18 13:55:00 UTC
[jira] [Created] (MDEP-976) artifactId is not guaranteed to be globally unique
Gili created MDEP-976:
-------------------------
Summary: artifactId is not guaranteed to be globally unique
Key: MDEP-976
URL: https://issues.apache.org/jira/browse/MDEP-976
Project: Maven Dependency Plugin
Issue Type: Bug
Components: copy-dependencies
Affects Versions: 3.8.1
Reporter: Gili
The copy-dependencies Mojo incorrectly assumes that a dependency's artifactId is globally unique. If a project depends on two different groupIds that happen to have the same artifactId then one dependency will overwrite the other.
Consider adding ${groupId} to the default output filename and/or add an option for doing so in case users wish to retain backwards compatibility.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)