Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] jar overlays in war & lifecycle-mapping and build path issues in m2e 1.0.0.20110607-2117



On 11-08-08 6:34 PM, Stevo Slavić wrote:
Hello m2e users,


[skipped]


My other issue is with lifecycle-mapping. Using info from
http://wiki.eclipse.org/M2E_plugin_execution_not_covered I've
configured in parent-aggregator pom pluginManagement which allows
execution of multiple plugins for generating sources, and plugin for
adding generated sources as sources directory. Sources get generated
but generated source directories do not get added to eclipse
project(s) as source directories.


Any ideas what could be wrong?


Do not use <execute/> mapping. It only runs the plugins but does not
provide any integration with eclipse workspace. Specifically, m2e does
not refresh generated source from local filesystem (i.e. eclipse
workspace won't "see" the new files) and does not update java classpath.
For 1.0.x you need project configurator(s) that support your plugins.

--
Regards,
Igor


Back to the top