[BUILD-108] Fix and update org.eclipse.m2e lifecycle-mapping Created: 24/May/12  Updated: 26/May/15  Resolved: 29/Jun/12

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: POMs 23
Fix Version/s: POMs 24

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File enforcer-and-remote-resources.pom.xml.patch     Text File pom.xml.patch    
Issue Links:
relation
is related to BUILD-72 Support for m2e / Eclipse Indigo ? Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Date of First Response:

 Description   

As we started developing the new UI with Vaadin we got again the infamous Eclipse error "Plugin execution not covered by lifecycle configuration:" with gwt-maven-plugin. This is due to the fact that we needed to downgrade to version 2.3.0 as Vaadin depends on gwt 2.3.0 (gwt and gwt-maven-plugin versions are in synch and 2.4.x cannot be used with 2.3.x or viceversa). Also I realized that in pom 23 I mistakenly inverted goals for maven-javadoc-plugin and gwt-maven-plugin, namely I set goal "resources" for javadoc and "javadoc" for resources.



 Comments   
Comment by Federico Grilli [ 24/May/12 ]

patch to be applied to magnolia-parent-pom-abstract

Comment by Magnolia International [ 21/Jun/12 ]

Sorry I didn't see this earlier ! Patch looks good, feel free to apply on trunk, and let me know if/when a release would help.

Comment by Matt Dertinger [ 22/Jun/12 ]

Hi Greg,

I got lifecycle-mapping warnings related to a the maven-enforcer-plugin and the maven-remote-resources-plugin too. Adding them to the list in pluginExecutions removed these warnings. See attached enforcer-and-remote-resources.pom.xml.patch to be applied to magnolia-parent-pom-abstract.

Sorry about the long file name for the patch, I just didn't want it to get confused with the pom.xml.patch already attached.

Let me know if you have any questions.

Cheers,
Matt

Comment by Federico Grilli [ 25/Jun/12 ]

@Greg: np, I will apply the patch(es) and let you know. As to the the new troublesome plugins reported by Matt, I did NOT have the chance to notice them, although, iirc, I checked out in Indigo the whole main project, EE and CE bundles and several CE and EE modules too. All I found was reported here http://wiki.magnolia-cms.com/display/DEV/Eclipse#Eclipse-Tableofpluginswhichcurrentlydonothaveam2econnector

Comment by Magnolia International [ 28/Jun/12 ]

Both patches applied.
Matt: thanks !
Federico: can you try this out and let me know if everything works as expected now ? Thanks.

Comment by Federico Grilli [ 29/Jun/12 ]

Ok, tested with main and ui projects, looks like it works fine. Thanks.

Generated at Sun Feb 11 23:38:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.