Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11536

Remove wrong LifecycleMapping metadata

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m