exceptionfactory opened a new pull request, #7622: URL: https://github.com/apache/nifi/pull/7622
# Summary [NIFI-11518](https://issues.apache.org/jira/browse/NIFI-11518) Upgrades Jetty dependencies from 9.4.51 to 10.0.15. Jetty 10 represents a major version change that requires Java 11 as the minimum version, but retains compatibility with the `javax.servlet` interfaces. This provides an incremental upgrade approach without more substantial changes that would be required to adopt Jetty 11. Most of the package and module names remain the same between Jetty 9.4 and 10, with the notable exception of the WebSocket libraries, as highlighted in the [Jetty Migration Guide](https://eclipse.dev/jetty/documentation/jetty-12/programming-guide/index.html#pg-migration-94-to-10) from 9.4 to 10. These changes are reflected in the updates to the Jetty WebSocket Processors and Services. Additional changes include upgrading Solr dependencies from 8.11.2 to 9.2.1 in order to align with Jetty 10 dependencies. The Jetty `ELContextCleaner` class is deprecated and removed from the default web application configuration. The Hadoop Client libraries also have a dependency on Jetty 9.4 WebSocket libraries for Yarn shell access. Yarn shell access is not necessary for NiFi component operation, but the referencing Hadoop class imports the Jetty client class. For this reason, several Maven configurations exclude Jetty 9.4 and include Jetty 10 WebSocket client to avoid runtime exceptions. # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue Tracking - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created ### Pull Request Tracking - [X] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000` - [X] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` ### Pull Request Formatting - [X] Pull Request based on current revision of the `main` branch - [X] Pull Request refers to a feature branch with one commit containing changes # Verification Please indicate the verification steps performed prior to pull request creation. ### Build - [X] Build completed using `mvn clean install -P contrib-check` - [X] JDK 17 ### Licensing - [X] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html) - [X] New dependencies are documented in applicable `LICENSE` and `NOTICE` files ### Documentation - [ ] Documentation formatting appears as expected in rendered files -- 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]
