Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Broken single-root rule: Only one <wb-resource> element with a deploy path of "/" is allowed...

Anders, I haven't seen or heard about that warning in years. What version of Eclipse are you using? Does it include m2e-wtp?  Do you mind sharing a simple project reproducing this warning? 

On Thu, Apr 6, 2017 at 7:56 AM, Anders Hammar <anders@xxxxxxxxxx> wrote:
I'm trying to solve some long time annoying warnings i Eclipse with Maven projects. One of them is that I get this warning:

Broken single-root rule: Only one <wb-resource> element with a deploy path of "/" is allowed for a web project or an EAR project

Googling shows that I'm not alone. I see suggestions to turn of validation and changing some default Maven pom configuration, which all seems srange to me. Should I really need to do this to get rid of this warning?

I would expect a (simple) Maven project to be ok to import into Eclipse/m2e without any additional configuration. Is there a reason behind this warning?

/Anders

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5

Back to the top