Dominique created MSHADE-410:
--------------------------------

             Summary: minimizeJar doesn't work with class files of version 61.
                 Key: MSHADE-410
                 URL: https://issues.apache.org/jira/browse/MSHADE-410
             Project: Maven Shade Plugin
          Issue Type: Bug
    Affects Versions: 3.2.4
         Environment: System:
  Kernel: 5.16.8-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=0db6fcc5-4934-4f6b-862c-21893cbeec24 rw rootflags=subvol=@
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.3
    Distro: Garuda Linux base: Arch Linux

Java --version: openjdk 17.0.1 2021-10-19
maven --version:
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven
Java version: 17.0.1, vendor: N/A, runtime: /usr/lib/jvm/java-17-openjdk
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.16.8-zen1-1-zen", arch: "amd64", family: "unix"


            Reporter: Dominique


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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to