You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Kriegisch (JIRA)" <ji...@apache.org> on 2016/07/07 11:55:11 UTC

[jira] [Commented] (MDEP-387) Finer distinctions for ignoreNonCompile

    [ https://issues.apache.org/jira/browse/MDEP-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365987#comment-15365987 ] 

Alexander Kriegisch commented on MDEP-387:
------------------------------------------

I would like this to be reopened because I also need more control. I only want to ignore used undeclared test dependencies because I have a test resources artifact which contains everything as compile dependencies and which I import everywhere with scope test. I.e. I know exactly that the test dependencies are there transitively, there is no need for me to list them in every submodule. I want the build to fail for used undeclared depdendencies in all other scopes though.

Maybe a [syntax like in Maven Enforcer|http://maven.apache.org/enforcer/enforcer-rules/banTransitiveDependencies.html]

> Finer distinctions for ignoreNonCompile
> ---------------------------------------
>
>                 Key: MDEP-387
>                 URL: https://issues.apache.org/jira/browse/MDEP-387
>             Project: Maven Dependency Plugin
>          Issue Type: New Feature
>          Components: analyze
>    Affects Versions: 2.5.1
>            Reporter: Benson Margulies
>
> I'd like to be able to exclude 'runtime' from the picture without excluding the others. I'd request the ability to list the desired scopes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)