Maven resources plugin does not honour  maven.test.skip  flag
-------------------------------------------------------------

                 Key: MRESOURCES-131
                 URL: http://jira.codehaus.org/browse/MRESOURCES-131
             Project: Maven 2.x Resources Plugin
          Issue Type: Bug
    Affects Versions: 2.4.3
            Reporter: Kostis Me


According to the official Maven documention the flag maven.test.skip means that 
tests will not be compiled at all.

If tests are not compiled then there is no need for the resources plugin to 
copy the test resources in the output folder.

This has a dentrimental effect to Maven project with thousands of integration 
tests that use a lot of resources (e.g XML files, ZIP files, images.)

The reason for this is that even if one uses the maven.test.skip flag in order 
to speed up the build, the maven resources plugin still takes a lot of time 
copying the test resources.

It makes no sense for the plugin to copy the test resource if they are not 
going to be used at all (the maven.test.skip flag)

 

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