[ 
https://issues.apache.org/jira/browse/MSHADE-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Krakora updated MSHADE-407:
-------------------------------
    Description: 
When shading a class build with java target set to 17 we get error like this:


 Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade 
(default) on project chystat-plugin-skoda-ordo-mfa: Error creating shaded jar: 
Problem shading JAR /var/lib/jenkins/workspace/chy.stat plugin-skoda-ordo-mfa - 
Releasy/chystat/customers/skoda/chystat-plugin-ordo-mfa/target/chystat-plugin-skoda-ordo-mfa-1.1.47.jar
 entry cz/diribet/chystat/plugin/skoda/ordo/mfa/MFACheckResultException.class: 
java.lang.IllegalArgumentException: Unsupported class file major version 61 -> 
[Help 1]

  was:
When shading a class build with java target set to 17 we get error like this:
Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade 
(default) on project chystat-plugin-skoda-ordo-mfa: Error creating shaded jar: 
Problem shading JAR /var/lib/jenkins/workspace/chy.stat plugin-skoda-ordo-mfa - 
Releasy/chystat/customers/skoda/chystat-plugin-ordo-mfa/target/chystat-plugin-skoda-ordo-mfa-1.1.47.jar
 entry cz/diribet/chystat/plugin/skoda/ordo/mfa/MFACheckResultException.class: 
java.lang.IllegalArgumentException: Unsupported class file major version 61 -> 
[Help 1]


> Update ASM to 9.1 to support Java 17
> ------------------------------------
>
>                 Key: MSHADE-407
>                 URL: https://issues.apache.org/jira/browse/MSHADE-407
>             Project: Maven Shade Plugin
>          Issue Type: Dependency upgrade
>    Affects Versions: 3.2.4
>            Reporter: Jan Krakora
>            Priority: Major
>
> When shading a class build with java target set to 17 we get error like this:
>  Failed to execute goal 
> org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project 
> chystat-plugin-skoda-ordo-mfa: Error creating shaded jar: Problem shading JAR 
> /var/lib/jenkins/workspace/chy.stat plugin-skoda-ordo-mfa - 
> Releasy/chystat/customers/skoda/chystat-plugin-ordo-mfa/target/chystat-plugin-skoda-ordo-mfa-1.1.47.jar
>  entry 
> cz/diribet/chystat/plugin/skoda/ordo/mfa/MFACheckResultException.class: 
> java.lang.IllegalArgumentException: Unsupported class file major version 61 
> -> [Help 1]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to