maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kriegisch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MDEP-387) Finer distinctions for ignoreNonCompile
Date Thu, 07 Jul 2016 11:55:11 GMT

    [ 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)

Mime
View raw message