[ 
https://jira.codehaus.org/browse/MDEP-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=345658#comment-345658
 ] 

Paul Donohue commented on MDEP-105:
-----------------------------------

I agree this would be a useful feature in the maven-dependency-plugin.

However, until it gets implemented in the maven-dependency-plugin, the 
maven-assembly-plugin can be (ab)used to accomplish the desired behavior: 
http://stackoverflow.com/a/4891643/1476175

> Make it possible to copy all dependencies (and their transitive ones) 
> excluding a few (and their transitive ones)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-105
>                 URL: https://jira.codehaus.org/browse/MDEP-105
>             Project: Maven Dependency Plugin
>          Issue Type: Wish
>          Components: copy
>            Reporter: Stefano Mazzocchi
>
> While it is currently possible to exclude particular artifacts from being 
> copied, this happens after the transitive dependencies have been evaluated. 
> This makes it impossible to exclude one artifacts along with all their 
> transitive dependencies. A suggestion (don't know how feasible this is) would 
> be to have two exclusion lists, one that gets applied before the transitive 
> dependency is called and one after.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to