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

Groovy extension module transformer looking in incorrect META-INF directory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.2.2
    • None

    Description

      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

      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

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rfscholte Robert Scholte
            dangets Danny George
            Votes:
            1 Vote for this issue
            Watchers:
            4 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

                Slack

                  Issue deployment