[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.m2e] Re: multiple maven modules in one eclipse project

Nick Sorokin wrote:
For this use case there is no problem with maven execution from the command line: folders can be deleted and recreated again and later imported (refreshed) by Eclipse. The problems started when maven builds are initiated by m2eclipse Eclipse plugin: when target folder is cleaned the required sources need to be generated again, even if there was no changes to the underlying definitions (UML model, WSDL descriptions, etc.) AS one of possible solutions I can see the modification of the execution of the clean goal: when in Eclipse only sources that are kept in the /src folder need to be cleaned from the /target. This will keep generated code within /target untouched and there will be no need to execute again the code generation phase.
Nick, can you please elaborate how this scenario is different from, say, "Project / Clean..." action, which cleans all the classes and resources, regardless if they had changed or not and basically does the full build.

 regards,
 Eugene