Stevo,

"overlay [xxx] not a dependency" is a known issue in m2e-wtp 0.13.x (
https://issues.sonatype.org/browse/MECLIPSEWTP-141)
It has been fixed in 0.14.0-SNAPSHOT, available from
http://download.jboss.org/jbosstools/builds/staging/m2eclipse-wtp-e37/all/repo/

HIH

Regards,

Fred Bricon


2011/8/8 Stevo Slavić <ssla...@gmail.com>

> Hello m2e users,
>
> In a multi-module project, one module is a jar with configuration
> files, while other is war module. In war module cfg jar is declared as
> dependency, and maven-war-plugin is configured to overlay war with cfg
> jar, and cfg is excluded from packaging via packagingExcludes param.
> In m2eclipse there were no issues reported on the project pom. Now pom
> editor in m2e reports error (and not a warning):
>
> "overlay [ id foo.bar:foo.bar.cfg] is not a dependency of the project."
>
> maven-war-plugin 2.1.1, and maven-jar-plugin 2.3.1 are being used.
>
>
> 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?
>
> Thanks in advance!
>
> Regards,
> Stevo.
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to