It looks like your real problem is the jaxb2-plugin. Together with Jeff Genender we're already working on some new improvements on this plugin.
If you're talking about MJAXB-26, I've dropped a patch in Jeff's mailbox for review, but I can attach it with this issue, so you can apply it yourself. Afterwards removing sounds more like a hack then the solution. This kind of things should be resolved with includes and excludes. regards, - Robert > Date: Fri, 2 Oct 2009 09:41:47 -0500 > From: [email protected] > To: [email protected] > Subject: [mojo-dev] [jira] Created: (MBUILDHELPER-16) Please add goals to > remove sources and resources. > > 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 > > _________________________________________________________________ What can you do with the new Windows Live? Find out http://www.microsoft.com/windows/windowslive/default.aspx
