Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-241

Groovy extension module transformer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.3
    • 3.0.0
    • None

    Description

      Currently Groovy uses a specific format for its extension modules located under the name META-INF/services/org.codehaus.groovy.runtime.ExtensionModule .

      The content is actually a property file with 4 entries:

      • moduleName
      • moduleVersion
      • extensionClasses : a comma separated list of class names
      • staticExtensionClasses : :a comma separated list of class names

      A correct merge operation should merge the list extensionClasses and staticExtensionClasses

      Such merge operation can be implemented as a resource transformer. It not require any of a specific Groovy class and can operate on plain property files.

      I am willing to contribute this with tests as a resource transformer. In fact I already have an working implementation (quite trivial).

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              jviet Julien Viet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: