It is pretty much impossible to know what files were generated earlier by any given MojoExecution, so there is no efficient way to remove old/stale generated files during incremental build. It is possible to cleanup from build participant's #clean(IProgressMonitor) call, which is called during project clean build, i.e. after Project->Clean... action.
-- Regards, Igor On 11-07-14 4:44 AM, Pino Silvaggio wrote:
Ok, so I pretty much have something solid. Both jaxb2 and xmlbeans connectors seem to work. But, there something I am not sure... When the build is triggered, i.e.: modified file(s) in schema directory the generated-sources is no cleaned... therefore there could be sources that shouldn't be there. Is this the behaviour we want? Shouldn't have a "clean" build? - Pino
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
