Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions beekeeper-cleanup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<!-- Old Tomcat Jasper implements javax.servlet.Servlet; with javax.servlet-api on the
runtime classpath, Tomcat 10.x would find JspServlet and fail to cast it to
jakarta.servlet.Servlet. Excluding it prevents the ClassCastException. -->
<exclusion>
<groupId>tomcat</groupId>
<artifactId>jasper-compiler</artifactId>
</exclusion>
<exclusion>
<groupId>tomcat</groupId>
<artifactId>jasper-runtime</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -107,6 +118,17 @@
</exclusions>
</dependency>

<!-- hive-metastore 2.3.7 references javax.servlet.Filter internally at runtime;
Spring Boot 3.x uses Jakarta Servlet so javax.servlet is no longer on the classpath.
This runtime dependency satisfies Hive's classloading without affecting Spring's
Jakarta servlet stack. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>runtime</scope>
</dependency>

<!-- aws -->
<dependency>
<groupId>com.amazonaws</groupId>
Expand Down
11 changes: 11 additions & 0 deletions beekeeper-metadata-cleanup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@
</exclusions>
</dependency>

<!-- hive-metastore 2.3.7 references javax.servlet.Filter internally at runtime;
Spring Boot 3.x uses Jakarta Servlet so javax.servlet is no longer on the classpath.
This runtime dependency satisfies Hive's classloading without affecting Spring's
Jakarta servlet stack. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>runtime</scope>
</dependency>

<!-- test -->
<dependency>
<groupId>org.awaitility</groupId>
Expand Down
10 changes: 10 additions & 0 deletions beekeeper-path-cleanup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
<artifactId>guava</artifactId>
<version>27.1-jre</version>
</dependency>
<!-- hive-metastore 2.3.7 references javax.servlet.Filter internally at runtime;
Spring Boot 3.x uses Jakarta Servlet so javax.servlet is no longer on the classpath.
This runtime dependency satisfies Hive's classloading without affecting Spring's
Jakarta servlet stack. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>runtime</scope>
</dependency>

<!-- test -->
<dependency>
Expand Down
10 changes: 10 additions & 0 deletions beekeeper-scheduler-apiary/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@
</exclusion>
</exclusions>
</dependency>
<!-- hive-metastore 2.3.7 references javax.servlet.Filter internally at runtime;
Spring Boot 3.x uses Jakarta Servlet so javax.servlet is no longer on the classpath.
This runtime dependency satisfies Hive's classloading without affecting Spring's
Jakarta servlet stack. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
Expand Down
21 changes: 21 additions & 0 deletions beekeeper-scheduler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<!-- Old Tomcat Jasper implements javax.servlet.Servlet; with javax.servlet-api on the
runtime classpath, Tomcat 10.x would find JspServlet and fail to cast it to
jakarta.servlet.Servlet. Excluding it prevents the ClassCastException. -->
<exclusion>
<groupId>tomcat</groupId>
<artifactId>jasper-compiler</artifactId>
</exclusion>
<exclusion>
<groupId>tomcat</groupId>
<artifactId>jasper-runtime</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
Expand Down Expand Up @@ -105,5 +116,15 @@
</exclusion>
</exclusions>
</dependency>
<!-- hive-metastore 2.3.7 references javax.servlet.Filter internally at runtime;
Spring Boot 3.x uses Jakarta Servlet so javax.servlet is no longer on the classpath.
This runtime dependency satisfies Hive's classloading without affecting Spring's
Jakarta servlet stack. -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
Loading