[
https://issues.apache.org/jira/browse/MSHADE-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MSHADE-298.
---------------------------------
Fix Version/s: 3.2.2
Assignee: Robert Scholte
Resolution: Fixed
Fixed in
[799e02abdf936d6f83026403a5ed64e70ad920ef|https://gitbox.apache.org/repos/asf?p=maven-shade-plugin.git;a=commit;h=799e02abdf936d6f83026403a5ed64e70ad920ef]
> Groovy extension module transformer looking in incorrect META-INF directory
> ---------------------------------------------------------------------------
>
> Key: MSHADE-298
> URL: https://issues.apache.org/jira/browse/MSHADE-298
> Project: Maven Shade Plugin
> Issue Type: Bug
> Reporter: Danny George
> Assignee: Robert Scholte
> Priority: Minor
> Fix For: 3.2.2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Groovy extension module transformer seems to be looking in the incorrect
> META-INF directory for files to merge together. The code is looking for
> {{META-INF/services/org.codehaus.groovy.runtime.ExtensionModule}} but the
> groovy documentation says to put the extension module files in
> {{META-INF/groovy}}
> {quote}
> 1.8.4. Module descriptor
> For Groovy to be able to load your extension methods, you must declare your
> extension helper classes. You must create a file named
> {{org.codehaus.groovy.runtime.ExtensionModule}} into the {{META-INF/groovy}}
> directory
> {quote}
> MSHADE-241
> https://github.com/apache/maven-plugins/pull/96/files
> http://groovy-lang.org/metaprogramming.html
> Here's a minimal program to reproduce the issue.
> https://github.com/cogman/brokenshade
--
This message was sent by Atlassian Jira
(v8.3.4#803005)