From b6394b1f6420d2374790fb0aad48cc736ed9999c Mon Sep 17 00:00:00 2001 From: Nihal Jain Date: Tue, 10 Sep 2024 21:19:47 +0530 Subject: [PATCH] HBASE-28070 Replace javax.servlet.jsp dependency with tomcat-jasper (#5607) Signed-off-by: Istvan Toth Signed-off-by: Nick Dimiduk --- hbase-assembly/src/main/assembly/client.xml | 5 +++ .../src/main/assembly/hadoop-three-compat.xml | 5 +++ .../main/resources/supplemental-models.xml | 39 ------------------- hbase-rest/pom.xml | 11 +----- hbase-server/pom.xml | 4 +- hbase-shaded/hbase-shaded-mapreduce/pom.xml | 4 +- hbase-thrift/pom.xml | 11 +----- pom.xml | 28 ++++++++----- 8 files changed, 36 insertions(+), 71 deletions(-) diff --git a/hbase-assembly/src/main/assembly/client.xml b/hbase-assembly/src/main/assembly/client.xml index f0ca402fd058..cd627ae9589b 100644 --- a/hbase-assembly/src/main/assembly/client.xml +++ b/hbase-assembly/src/main/assembly/client.xml @@ -67,6 +67,11 @@ io.opentelemetry.javaagent:* org.hamcrest:hamcrest-core org.mockito:mockito-core + + org.apache.tomcat:tomcat-juli + org.apache.tomcat:tomcat-api + org.apache.tomcat:tomcat-util-scan + org.apache.tomcat:tomcat-util diff --git a/hbase-assembly/src/main/assembly/hadoop-three-compat.xml b/hbase-assembly/src/main/assembly/hadoop-three-compat.xml index 84a1bfa36816..e3100bb88fcb 100644 --- a/hbase-assembly/src/main/assembly/hadoop-three-compat.xml +++ b/hbase-assembly/src/main/assembly/hadoop-three-compat.xml @@ -87,6 +87,11 @@ junit:junit org.hamcrest:hamcrest-core org.mockito:mockito-core + + org.apache.tomcat:tomcat-juli + org.apache.tomcat:tomcat-api + org.apache.tomcat:tomcat-util-scan + org.apache.tomcat:tomcat-util diff --git a/hbase-resource-bundle/src/main/resources/supplemental-models.xml b/hbase-resource-bundle/src/main/resources/supplemental-models.xml index 075463af20d8..3e09323e66aa 100644 --- a/hbase-resource-bundle/src/main/resources/supplemental-models.xml +++ b/hbase-resource-bundle/src/main/resources/supplemental-models.xml @@ -95,19 +95,6 @@ under the License. - - - org.glassfish - javax.el - - - CDDL 1.1 - https://glassfish.java.net/public/CDDL+GPL_1_1.html - repo - - - - org.glassfish.hk2 @@ -264,32 +251,6 @@ under the License. - - - org.glassfish.web - javax.servlet.jsp - - - CDDL 1.1 - https://glassfish.java.net/public/CDDL+GPL_1_1.html - repo - - - - - - - org.glassfish.web - javax.servlet.jsp.jstl - - - CDDL 1.1 - https://glassfish.java.net/public/CDDL+GPL_1_1.html - repo - - - - org.bouncycastle diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index bb357d96abd8..cf629b62991a 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -190,15 +190,8 @@ - org.glassfish.web - javax.servlet.jsp - - - - org.glassfish - javax.el + org.apache.tomcat + tomcat-jasper org.apache.kerby diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index c04947529bf3..92b696d2feca 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -178,8 +178,8 @@ - org.glassfish.web - javax.servlet.jsp + org.apache.tomcat + tomcat-jasper diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index 2e7aa6ed33ac..03f9939b50ee 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -101,8 +101,8 @@ jetty-util-ajax - org.glassfish - javax.el + org.apache.tomcat + tomcat-jasper org.eclipse.jetty diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 90e40f96e7a4..b75b288c8789 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -105,15 +105,8 @@ - org.glassfish.web - javax.servlet.jsp - - - - org.glassfish - javax.el + org.apache.tomcat + tomcat-jasper org.apache.kerby diff --git a/pom.xml b/pom.xml index 21cebca7d315..f29e57027e32 100644 --- a/pom.xml +++ b/pom.xml @@ -863,8 +863,7 @@ 2.3.1 3.1.0 2.1.1 - 2.3.2 - 3.0.1-b08 + 9.0.93 9.4.8.0 4.13.2 1.3 @@ -1572,9 +1571,23 @@ - org.glassfish.web - javax.servlet.jsp - ${glassfish.jsp.version} + org.apache.tomcat + tomcat-jasper + ${tomcat.jasper.version} + + + org.eclipse.jdt + ecj + + + org.apache.tomcat + tomcat-servlet-api + + + org.apache.tomcat + tomcat-jsp-api + + @@ -1582,11 +1595,6 @@ javax.servlet.jsp-api 2.3.1 - - org.glassfish - javax.el - ${glassfish.el.version} - javax.xml.bind jaxb-api