You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/06/10 16:32:00 UTC
[jira] [Commented] (SLING-7720) Conflicting lifecycle mapping
bnd-maven-plugin:bnd-process
[ https://issues.apache.org/jira/browse/SLING-7720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507436#comment-16507436 ]
Konrad Windszus commented on SLING-7720:
----------------------------------------
The error is emitted from https://github.com/eclipse/m2e-core/blob/a1e24f9f417719d3685824383291f05a111a409e/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/lifecyclemapping/LifecycleMappingFactory.java#L643. Maybe we are just lacking the according {{runsBefore}} directive in https://github.com/apache/sling-ide-tooling/blob/39ed806bbfe505d3120b07646c37b950ca9981c3/eclipse/eclipse-m2e-ui/plugin.xml#L58.
> Conflicting lifecycle mapping bnd-maven-plugin:bnd-process
> ----------------------------------------------------------
>
> Key: SLING-7720
> URL: https://issues.apache.org/jira/browse/SLING-7720
> Project: Sling
> Issue Type: Bug
> Components: IDE
> Affects Versions: Sling Eclipse IDE 1.2.2
> Reporter: Konrad Windszus
> Priority: Major
>
> Whenever a project is leveraging the {{biz.aQute.bnd:bnd-maven-plugin}} with goal {{bnd-process}}, Eclipse emits the errors
> {code}
> Conflicting lifecycle mapping (plugin execution "biz.aQute.bnd:bnd-maven-plugin:4.0.0:bnd-process (execution: default, phase: process-classes)"). To enable full functionality, remove the conflicting mapping and run Maven->Update Project Configuration.
> {code} and
> {code}
> Plugin execution not covered by lifecycle configuration: biz.aQute.bnd:bnd-maven-plugin:4.0.0:bnd-process (execution: default, phase: process-classes)
> {code}
> This can e.g. be reproduced with the project at https://github.com/apache/sling-org-apache-sling-servlets-annotations-it.
> The reasons for that seems to be that both the plugin itself as well as the Sling IDE provide a lifecycle mapping for that specific goal (SLING-6129).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)