[ 
https://issues.apache.org/jira/browse/HADOOP-20013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jose Luis López updated HADOOP-20013:
-------------------------------------
    Description: 
*Scope*:
hadoop-project/pom.xml:904: change the dead exclusion on jetty-server from 
org.eclipse.jetty:javax.servlet-api to javax.servlet:javax.servlet-api. Manage 
jetty-continuation at ${jetty.version}

*New*: hadoop-tools/hadoop-sls/pom.xml:57 has the same dead exclusion; fix it 
the same way.
hadoop-project/pom.xml:931: on javax-websocket-server-impl, also exclude 
javax.servlet:javax.servlet-api and javax.annotation:javax.annotation-api, 
which jakarta.annotation-api 1.3.5 already provides.
hadoop-common/pom.xml: declare the managed servlet API, still 
jakarta.servlet-api 4.0.4. Ten modules compile against javax.servlet without 
declaring an API and get it through hadoop-common.
LICENSE-binary:628 and NOTICE-binary:466: drop javax.servlet-api 3.1.0.

*Impact on Jetty 9*: none. The 3.1.0 and 4.0.4 jars carry the same 
javax.servlet packages, and 4.0 is a superset of 3.1. Jetty 9.4 is built 
against servlet 3.1 and runs on 4.0.

*CI*: touches hadoop-project, so it triggers a full build (~2.5h).

*Open*: run dependency:tree before dropping the LICENSE line, to confirm 3.1.0 
is gone from every module.

  was:
hadoop-project: fix the groupId of the jetty-server exclusion; add servlet and 
annotation exclusions on javax-websocket-server-impl. hadoop-common: declare 
jakarta.servlet-api. LICENSE-binary and NOTICE-binary

Fix the dead javax.servlet-api exclusion on jetty-server. Manage 
jetty-continuation at ${jetty.version}


> HADOOP — Remove the duplicate javax.servlet-api and javax.annotation-api from 
> the classpath
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-20013
>                 URL: https://issues.apache.org/jira/browse/HADOOP-20013
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build, common
>            Reporter: Jose Luis López
>            Priority: Major
>
> *Scope*:
> hadoop-project/pom.xml:904: change the dead exclusion on jetty-server from 
> org.eclipse.jetty:javax.servlet-api to javax.servlet:javax.servlet-api. 
> Manage jetty-continuation at ${jetty.version}
> *New*: hadoop-tools/hadoop-sls/pom.xml:57 has the same dead exclusion; fix it 
> the same way.
> hadoop-project/pom.xml:931: on javax-websocket-server-impl, also exclude 
> javax.servlet:javax.servlet-api and javax.annotation:javax.annotation-api, 
> which jakarta.annotation-api 1.3.5 already provides.
> hadoop-common/pom.xml: declare the managed servlet API, still 
> jakarta.servlet-api 4.0.4. Ten modules compile against javax.servlet without 
> declaring an API and get it through hadoop-common.
> LICENSE-binary:628 and NOTICE-binary:466: drop javax.servlet-api 3.1.0.
> *Impact on Jetty 9*: none. The 3.1.0 and 4.0.4 jars carry the same 
> javax.servlet packages, and 4.0 is a superset of 3.1. Jetty 9.4 is built 
> against servlet 3.1 and runs on 4.0.
> *CI*: touches hadoop-project, so it triggers a full build (~2.5h).
> *Open*: run dependency:tree before dropping the LICENSE line, to confirm 
> 3.1.0 is gone from every module.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to