I asked this same question a while ago
http://stackoverflow.com/q/9525963/1086540

The problem is indeed the nested projects and the way eclipse imports
projects by creating duplicates of all the resources

You can enable the experimental "hide nexted modules" feature in the maven
config like Matthew suggests or you can create a manual filter for the
resources as well.

My solution was simpler, i just moved the launchers to the root project to
a folder that doesn't get aggregated



Alejandro Endo | Software Designer/Concepteur de logiciels




From:   frank.ja...@tolina.de
To:     m2e-users@eclipse.org,
Date:   2013-07-17 08:46 AM
Subject:        [m2e-users] launch configs of maven modules show up n-times
Sent by:        m2e-users-boun...@eclipse.org



Hello,

I have a maven project A with a submodule B. Both of them are open projects
in eclipse. When I place an eclipse launch configuration (java launch
config) in submodule B it shows up twice in my launch configuration.
Creating a sub-submodule C and placing a launch config there makes it show
up thrice.

Is this likely to be a maven module / m2e issue and if so, how can I work
around / fix this?

Regards

Frank_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users



DISCLAIMER:

Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not
copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply
e-mail. It is understood that opinions or conclusions that do not
relate to the official business of the company are neither given
nor endorsed by the company.

Thank You.

_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to