maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tuomas Kiviaho (JIRA)" <>
Subject [jira] Commented: (MDEP-211) Possibility to prepend groupId to dependencies
Date Thu, 04 Jun 2009 11:09:42 GMT


Tuomas Kiviaho commented on MDEP-211:

I'm struggling with similar problem between this plugin goal and assembly plugins output using
outputFileNameMapping of a dependencySet. 

In my opinion the filename mapping capability is desirable because it gives total freedom
and removes hassle with stripVersion, prefix, localRepoProperty, outputAbsoluteArtifactFilename
(and prependGroupId). 

Backwards compatibility can be maintained if there would be a default outputFileNameMapping
which changes as per scenario selected with above parameters and overtakes when explicitly
defined. What assembly plugin also needs is a way to determine whether or not ${artifact.groupId}
is in legacy or default repository mode.

> Possibility to prepend groupId to dependencies
> ----------------------------------------------
>                 Key: MDEP-211
>                 URL:
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: build-classpath, copy-dependencies
>    Affects Versions: 2.2
>            Reporter: Oumar Aziz OUATTARA
>            Assignee: Brian Fox
>         Attachments: add_parameter_prepend_groupId.patch
> Hi, 
> I would like to use the dependency plugin to copy dependencies including the groupId
in the destination filename. This is to be able afterward to classify the plugins based on
their groupId. 
> It can also avoid a scenario like two dependencies with different groupIds and the same
ArtifactId to collide when doing the copy.
> For this I propose a new configuration parameter "prependGroupId".
> See attached patch for more details.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message