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

        

Reply via email to