You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Oyarzun (Jira)" <ji...@apache.org> on 2022/02/24 18:40:00 UTC

[jira] [Commented] (NETBEANSINFRA-263) NetBeans Module plugin fails to wrap Java 17 JARs

    [ https://issues.apache.org/jira/browse/NETBEANSINFRA-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497622#comment-17497622 ] 

Christian Oyarzun commented on NETBEANSINFRA-263:
-------------------------------------------------

I think this was fixed with nbm-maven-plugin 4.7. Vote close same day as this bug report. 

[https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/19]

 

> NetBeans Module plugin fails to wrap Java 17 JARs
> -------------------------------------------------
>
>                 Key: NETBEANSINFRA-263
>                 URL: https://issues.apache.org/jira/browse/NETBEANSINFRA-263
>             Project: Apache NetBeans Infra
>          Issue Type: Bug
>          Components: MU - Apache NetBeans NBM maven plugin
>         Environment: OpenJDK 17.0.2
>            Reporter: Eirik Bakke
>            Priority: Major
>         Attachments: pom.xml
>
>
> The nbm-maven-plugin seems to have trouble wrapping JARs that have Java 17 level class files in them. To reproduce, create an empty folder containing the attached pom.xml file and run "mvn install". The following error appears:
> "Failed to execute goal org.apache.netbeans.utilities:nbm-maven-plugin:4.6:manifest (default-manifest) on project jdbc-mssql: Execution default-manifest of goal org.apache.netbeans.utilities:nbm-maven-plugin:4.6:manifest failed: Unsupported class file major version 61 -> [Help 1]"
> Changing the external JAR version from 10.2.0.jre17 to 10.2.0.jre11 makes the build succeed.
> (Per the readme on https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin , and since this is a different JIRA project, submitting this bug via JIRA rather than on GitHub.)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists