[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-dev] Lifecycle mapping metadata configuration
|
Greg,
When you configure your project configurator as secondary to the wtp one, that means that whenever you expect that configurator to be invoked when a liferay goal is found, m2e will try to invoke the wtp configurator first for that same liferay goal. Since the wtp configurator is not bound to any liferay plugin, it's not found hence the liferay configurator is not invoked.
2 configurators are the way to go if you need to do special things whenever thes goals are invoked. Looking at the code, you only want to add project Facets to your project, so technically, you don't need a configurator for the liferay plugin.
You should keep the one bound to maven-war-plugin, add your facets, and mark the liferay goals as ignored in your lifecycle mapping, at least for now.
Fred Bricon
On Thu, Jan 10, 2013 at 11:08 AM, Greg Amerson
<gregory.amerson@xxxxxxxxxxx> wrote:
Olivier, you found it! I simply added a new configurator that wasn't secondaryTo and it finds it now! Wow, I've been banging my head up against this for several days, actually its caused me to put this task down at least 3 times because I would get stuck here.
Thanks so much!
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
--
"Have you tried turning it off and on again" - The IT Crowd