Eclipse 3.7 (indigo SR2) m2e (1.1) import Maven will not add source folders of generated sources -


I have a large Maven (3.0.4) project that includes modules, such as Code Jacob, Java etc.

The problem I have is that the source source generated after importing projects has not been added as the source folder in the eclipse. Currently I have to manually fold the folder (target / generate) -Source / Jacob) need to be added.

In earlier versions of M2A there was a configuration, which controls the phase that runs during the import.

Do anyone have any ideas to be changed?

Update I created the Subscriber Build-Helper-Maven-plugin

   & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; Step & gt; Generating sources & lt; / Step & gt; & Lt; Goals & gt; & Lt; Goal & gt; Ad-source & lt; / Target & gt; & Lt; / Targets & gt; & Lt; Configuration & gt; & Lt; Sources & gt; & Lt; Source & gt; Goals / Generating-sources / JAXB / & lt; / Source & gt; & Lt; / Sources & gt; & Lt; / Configuration & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; / Plugin & gt;   

But this does not solve the problem. You need the M2eclipse-buildhelper plugin that M2e knows how to add new source folders. If version

the window & gt; Preferences & gt; Maven & gt; Discovery & gt; Open Catalog ...

is not installed, try to use this P2 update site instead to install it:

< / Div>

Comments