[
http://jira.codehaus.org/browse/MDEP-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=185676#action_185676
]
Steven Baker commented on MDEP-85:
----------------------------------
I agree with Julien, this doesnt make sense to fail on excluding test scope.
I dont want test scoped dependencies being copied because I dont want them in
my deployment.
> 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