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

ASF GitHub Bot commented on HADOOP-20081:
-----------------------------------------

adoroszlai commented on PR #8979:
URL: https://github.com/apache/hadoop/pull/8979#issuecomment-6854702309

   Thanks @joseluisll for sharing the info on Jetty 12 migration.  Importing 
the BOM in `dependencyManagement` of `hadoop-project/pom.xml` is the same as 
adding all existing Jetty modules in the same section explicitly.  It does not 
add any actual `dependency` for any submodule.  #8894 adds two new modules in 
`dependencyManagement`, and several actual `dependency` declarations of 
submodules, but does not use `jetty.version` for the latter.  Can you please 
explain how `jetty-bom` causes problems for the migration?




> Import jetty-bom in hadoop-project for consistent Jetty dependency versions
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-20081
>                 URL: https://issues.apache.org/jira/browse/HADOOP-20081
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> hadoop-project lists several Jetty artifacts in dependencyManagement while 
> transitive Jetty modules (jetty-http, jetty-security, etc.) can resolve to 
> different versions than jetty-server.
> Import org.eclipse.jetty:jetty-bom (${jetty.version}) in the parent POM, 
> matching the approach used in Apache Ozone. Remove redundant Jetty entries 
> without exclusions from dependencyManagement, and drop the duplicate 
> jetty-bom import from hadoop-yarn-applications-catalog-webapp.
> Precedent: 
> https://github.com/apache/ozone/blob/c359bf72ea6aa98147fd1935952c805242f1d18c/pom.xml#L265-L271



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to