You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julien HENRY (JIRA)" <ji...@codehaus.org> on 2009/03/30 14:59:12 UTC

[jira] Commented: (MDEP-85) excludeScope=test doesn't work

    [ http://jira.codehaus.org/browse/MDEP-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171390#action_171390 ] 

Julien HENRY commented on MDEP-85:
----------------------------------

Same proble here. I want all scopes but test and non of the given choices do what I want.

> excludeScope=test doesn't work
> ------------------------------
>
>                 Key: MDEP-85
>                 URL: http://jira.codehaus.org/browse/MDEP-85
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: copy-dependencies
>    Affects Versions: 2.0-alpha-4
>            Reporter: Dominique Jean-Prost
>            Assignee: Brian Fox
>
> mvn dependency:copy-dependencies  -DexcludeScope=test doesn't seem to work correctly : I get a 
> [INFO] [dependency:copy-dependencies]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO]  Can't exclude Test scope, this will exclude everything.
> [INFO] ------------------------------------------------------------------------
> If I use mvn dependency:copy-dependencies -DincludeScope=provided, I do get only provided scope artifact, that is the test scope is exluded indeed.
> ---> To my mind, excludeScope=test should work then.

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