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

minimizeJar doesn't work with class files of version 61.

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.2.4
    • None
    • None

    Description

      When i try to run the shade goal of the maven-shade-plugin:3.2.4, an exception gets thrown when it gets to the Minimizing jar... phase. The exception says:

       Error creating shaded jar: Unsupported class file major version 61 -> [Help 1]

      I assume this means this build step doesn't support java 17? If so, I also assume this is a bug. Please tell me if that is not the case, or if I did something wrong.

      Kind regards, mufinlive

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            mufinlive Dominique
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment