Browse Source

fix: remove Jetty dependency management due to unavailable versions

- Jetty 12.0.x versions greater than 12.0.9 do not exist in Maven Central
- Attempted 12.0.10, 12.0.12, 12.0.16 - none are available
- Next available versions are in 12.1.x series
- Remove Jetty dependency management to rely on transitive resolution
- Allows build to proceed with Jetty versions from Spark/Hadoop dependencies
- Can revisit with explicit version pinning if CVE concerns arise
pull/7526/head
chrislu 6 days ago
parent
commit
b2186b3f8f
  1. 35
      test/java/spark/pom.xml

35
test/java/spark/pom.xml

@ -23,7 +23,6 @@
<seaweedfs.hadoop3.client.version>3.80</seaweedfs.hadoop3.client.version>
<jackson.version>2.15.3</jackson.version>
<netty.version>4.1.124.Final</netty.version>
<jetty.version>12.0.16</jetty.version>
<surefire.jvm.args>
-Xmx2g
-Dhadoop.home.dir=/tmp
@ -151,37 +150,9 @@
<version>2.2</version>
</dependency>
<!-- Jetty - Fix CVEs (upgraded to 12.x for security) -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-io</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-security</artifactId>
<version>${jetty.version}</version>
</dependency>
<!-- Note: Jetty dependency management removed -->
<!-- Jetty 12.0.x versions >12.0.9 do not exist in Maven Central -->
<!-- Relying on transitive dependency resolution from Spark/Hadoop -->
</dependencies>
</dependencyManagement>

Loading…
Cancel
Save