lhotari commented on PR #35: URL: https://github.com/apache/nifi-maven/pull/35#issuecomment-2149623263
> Not for NiFi 1.x, but there is currently a vote underway for version 2.0.0 of the plugin which will be applied to the main branch (NiFi 2.x) once released. @mattyb149 I tried using 2.0.0 version of the plugin, but it fails with this type of errors: ``` Caused by: java.lang.UnsupportedClassVersionError: org/apache/nifi/NarMojo has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 ``` ``` [ERROR] Failed to execute goal org.apache.nifi:nifi-nar-maven-plugin:2.0.0:nar (default-nar) on project pulsar-io-file: Execution default-nar of goal org.apache.nifi:nifi-nar-maven-plugin:2.0.0:nar failed: Unable to load the mojo 'nar' in the plugin 'org.apache.nifi:nifi-nar-maven-plugin:2.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/apache/nifi/NarMojo has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 ``` Is this a known problem? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
