[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] webby: Could not locate configuration for maven-war-plugin
|
You should remove the utility facet from these projects (in the project properties), before updating their maven configuration.
m2e-wtp doesn't cope well with this kind of packaging change.
2011/7/5 Rafał Krzewski
<Rafal.Krzewski@xxxxxxxxx>
I've switched my projects to war packaging with attached jars and
now I'm getting the following two errors for each project:
Utility Module and Dynamic Web Module 2.5 cannot both be selected.
One or more constraints have not been satisfied.
This makes sense, as much as I understand how WTP works. It seems
that to get around this, I would need to get rid of the attached
jars and package the classes in WEB-INF/classes. Then again I need
those classes as compile time dependencies for other modules, and
while I suspect it might work under Eclipse/WTP, putting a war on
compile classpath under standalone Maven probable would not work...
My previous setup using jars with attached wars was admittedly a bit
convoluted, but war overlays contributing both classes and
webResources seems pretty much standard usage. Am I missing
something here?
cheers,
Rafał
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
--
"Have you tried turning it off and on again" - The IT Crowd