You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/02/07 21:25:44 UTC

[jira] Commented: (MDEP-62) Ability to disallow groups of deps

    [ http://jira.codehaus.org/browse/MDEP-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87026 ] 

Brett Porter commented on MDEP-62:
----------------------------------

I'm thinking a goal in this plugin, bound to the first phase (validate), that takes a list of banned artifacts (both g:a:v, g:a pairings and just plain groups shuld be acceptable to ban), and fails the build if they are found. 

> Ability to disallow groups of deps
> ----------------------------------
>
>                 Key: MDEP-62
>                 URL: http://jira.codehaus.org/browse/MDEP-62
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: New Feature
>            Reporter: David Blevins
>         Assigned To: Brian Fox
>
> There's a related issue MNG-2796 (http://jira.codehaus.org/browse/MNG-2796) involving some issue with using one pom ("server" parent pom) to depend on another pom ("container" parent pom).  The desired effect is that any children modules of the container parent pom cannot depend on any children modules of the server parent pom.  Having the server parent pom depend on the container parent pom is one way to ensure this cannot happen, but maybe considered a hack -- and I suppose it is when you consider that this only works if you control the poms of the deps that are "off limits".
> Brett has suggested adding explicit support for this so that groups of deps or individual deps could be marked as disallowed.  That feature would definitely work as an alternate ensuring that nothing in the container group depends on anything in the server group.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira