Please add goals to remove sources and resources.
-------------------------------------------------

                 Key: MBUILDHELPER-16
                 URL: http://jira.codehaus.org/browse/MBUILDHELPER-16
             Project: Maven 2.x Build Helper Plugin
          Issue Type: Wish
            Reporter: Christian Schulte
            Priority: Minor


It would be great, if the build-helper plugin would support removing 
(re)sources just like it supports adding them.

remove-source
remove-test-source
remove-resource
remove-test-resource

This would be useful to workaround plugins which do not support configuration 
of the source roots or resources and will add to the wrong source roots when 
used in a non-default phase. The JAXB2 plugin, for example, does not support 
generating code during the generate-test-sources phase, since it will add its 
output directory to the compile source roots. Using the build-helper plugin, it 
already is possible to add that output directory to the test compile source 
roots and use the JAXB2 plugin during the generate-test-sources phase, but then 
still the output directory is added to the compile source roots and test 
classes are visible to the javadoc plugin, for example. The build-helper plugin 
could be used to add a directory to the test source roots and to remove that  
same directory from the compile source roots.


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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to