[ 
https://issues.apache.org/jira/browse/SLING-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15656405#comment-15656405
 ] 

Konrad Windszus commented on SLING-6268:
----------------------------------------

It seems that multiple Eclipse plugins are only then supported to supply a 
lifecycle mapping for the same goal when one is marked "secondary" to the other 
(http://dev.eclipse.org/mhonarc/lists/m2e-users/msg05619.html). This was the 
case in the past with 
https://github.com/apache/sling/blob/eb1a51485d442b6d7a56670139ba0c46bf3434cf/tooling/ide/eclipse-m2e-ui/plugin.xml#L54.
 Unfortunately this line prevents the same configurator from being executed 
when m2e-tycho is not installed.
Therefore we will probably have to rely on the new feature "runsBefore" being 
introduced with m2e 1.6 
(http://www.eclipse.org/m2e/documentation/release-notes-16.html#improved-project-configurator-ordering).
 That allows to specify optional secondary configurators (like m2e-tycho).

> Error reported for bundle projects: Conflicting lifecycle mapping metadata
> --------------------------------------------------------------------------
>
>                 Key: SLING-6268
>                 URL: https://issues.apache.org/jira/browse/SLING-6268
>             Project: Sling
>          Issue Type: Bug
>          Components: IDE
>    Affects Versions: Sling Eclipse IDE 1.2.0
>            Reporter: Robert Munteanu
>            Assignee: Konrad Windszus
>             Fix For: Sling Eclipse IDE 1.2.0
>
>         Attachments: eclipse-config.txt
>
>
> With a locally built Sling IDE 1.2.0 and the locally checked out Sling 
> bundles I get the following kind of errors:
> {noformat}Conflicting lifecycle mapping metadata (project packaging 
> type="bundle"). To enable full functionality, remove the conflicting mapping 
> and run Maven->Update Project Configuration.{noformat}
> This one is for example for org.apache.sling.api . I do have Tycho Project 
> Configurators 0.8.0.201409231215 installed. I'll attach my configuration 
> details, if needed.
> The whole Sling checkout is at r1768748.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to