jojochuang opened a new pull request, #8979:
URL: https://github.com/apache/hadoop/pull/8979
### Description of PR
Import `org.eclipse.jetty:jetty-bom` in `hadoop-project`
`dependencyManagement` so transitive Jetty artifacts (for example `jetty-http`
and `jetty-security`) align with `${jetty.version}` instead of versions
declared inside each Jetty POM.
Remove redundant managed Jetty coordinates that only repeated the version
(`jetty-util`, `jetty-servlet`, `jetty-webapp`, `websocket-client`,
`jetty-servlet-tester`). Keep `jetty-server` and `javax-websocket-server-impl`
entries that apply exclusions.
Remove the duplicate `jetty-bom` import and redundant explicit versions on
`org.eclipse.jetty.http2` dependencies in
`hadoop-yarn-applications-catalog-webapp` now that the parent BOM applies.
Same approach as [Apache
Ozone](https://github.com/apache/ozone/blob/c359bf72ea6aa98147fd1935952c805242f1d18c/pom.xml#L265-L271).
[HADOOP-20081](https://issues.apache.org/jira/browse/HADOOP-20081)
### How was this patch tested?
`mvn -pl hadoop-common-project/hadoop-common dependency:tree
-Dincludes=org.eclipse.jetty:jetty-http,org.eclipse.jetty:jetty-security`
Made with [Cursor](https://cursor.com)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]