[
https://issues.apache.org/jira/browse/SLING-6268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654400#comment-15654400
]
Konrad Windszus commented on SLING-6268:
----------------------------------------
That is very weird. I wonder which other extension would provide a lifecycle
metadata for packaging "bundle". One part is for sure m2e-tycho, but Sling IDE
itself does not provide one. Therefore I have only seen different error message
like "Duplicate bundle executions found. Please remove any explicitly defined
bundle executions in your pom.xml" which is coming from m2e-tycho (see also
http://sling.apache.org/documentation/development/ide-tooling/ide-tooling-incremental-build.html).
Feel free to try out my gerrit change at https://git.eclipse.org/r/#/c/82840/
for m2e to figure out which extensions are actually conflicting here.
Alternatively please set a breakpoint in
{{org.eclipse.m2e.core.internal.lifecyclemapping.LifecycleMappingFactory.java}}
around line 560. This should allow you to figure out which plugins are causing
the conflict.
> 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)