lhotari opened a new pull request, #24668: URL: https://github.com/apache/pulsar/pull/24668
### Motivation The nifi-nar-maven-plugin will generate NiFi specific documentation when the NAR file is created. Pulsar doesn't use this documentation and it's a waste of resources to attempt to generate the documentation which is a heavy classloading and scanning process. Since org.apache.nifi:nifi-nar-maven-plugin:2.0.0, it has been possible to skip the documentation generation, thanks to @nicoloboschi's PR https://github.com/apache/nifi-maven/pull/35. The challenge with nifi-nar-maven-plugin 2.0.0+ version is that it requires Java 21+. This PR solves that challenge. ### Modifications - Configure the build to use org.apache.nifi:nifi-nar-maven-plugin:2.1.0 with skipDocGeneration=true when the build JVM is Java 21+ ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- 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]
