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 2022/08/12 14:01:00 UTC

[jira] [Assigned] (SLING-11536) Remove wrong LifecycleMapping metadata

     [ https://issues.apache.org/jira/browse/SLING-11536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus reassigned SLING-11536:
---------------------------------------

    Assignee: Konrad Windszus

> Remove wrong LifecycleMapping metadata
> --------------------------------------
>
>                 Key: SLING-11536
>                 URL: https://issues.apache.org/jira/browse/SLING-11536
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Sling Maven Plugin 3.0.0
>
>
> The sling-maven-plugin contains Plexus component metadata for a {{org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping}} with role {{assembly}} (https://github.com/apache/sling-maven-plugin/blob/e5da7210376d1951c2fa4ce76f69cb7632cee36f/sling-maven-plugin/src/main/resources/META-INF/plexus/components.xml#L20).
> Although this only is active if {{sling-maven-plugin}} is used with {{<extensions>true</extensions>}} it is wrong in any case, as it defines a mapping for packaging "assembly" and also only binds Maven default plugin goals.
> As the {{sling-maven-plugin}} doesn't do any packaging nor defines a custom packaging, providing a custom {{DefaultLifecycleMapping}} is not necessary and in the worst case might have negative side-effects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)