Julien Viet created MSHADE-241:
----------------------------------

             Summary: Groovy extension module transformer
                 Key: MSHADE-241
                 URL: https://issues.apache.org/jira/browse/MSHADE-241
             Project: Maven Shade Plugin
          Issue Type: Improvement
    Affects Versions: 2.4.3
            Reporter: Julien Viet


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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to