panbingkun commented on PR #41340: URL: https://github.com/apache/spark/pull/41340#issuecomment-1623108678
1.(Jersey depend on it) The first PR to introduce the dependency of `javax.ws.rs.javax.ws.rs-api` PR: [SPARK-12154] Upgrade to Jersey 2 CommitID: b7fdc23ccc5967de5799d8cf6f14289e71f29a1e https://github.com/apache/spark/commit/b7fdc23ccc5967de5799d8cf6f14289e71f29a1e#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R624-R627 <img width="521" alt="image" src="https://github.com/apache/spark/assets/15246973/9fd333c4-56f9-4cc7-9639-0f1c1a806dab"> 2.Because Jersey depends on it, however, with the upgrade of Jersey version, the `rs-api` package name it depends on has been moved from: `javax.ws.rs.javax.ws.rs-api` to: `jakarta.ws.rs.jakarta.ws.rs-api` in version 2.28, but there is no corresponding removal in Spark. - Jersey 2.27: https://repo1.maven.org/maven2/org/glassfish/jersey/project/2.27/project-2.27.pom <img width="403" alt="image" src="https://github.com/apache/spark/assets/15246973/2c7b7dba-c515-4f46-80b6-b8b229c14004"> - Jersey 2.28: https://repo1.maven.org/maven2/org/glassfish/jersey/project/2.28/project-2.28.pom <img width="402" alt="image" src="https://github.com/apache/spark/assets/15246973/74380102-3884-4f9d-b626-c58ac17b08a6"> - The PR that was modified in Jersey is: https://github.com/eclipse-ee4j/jersey/pull/3994 https://github.com/eclipse-ee4j/jersey/pull/3994/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8R1363-R1364 3. <img width="851" alt="image" src="https://github.com/apache/spark/assets/15246973/099f63c5-f5d9-4ceb-94db-dbdb7db57e3e"> 4.In fact, we can only depends on `[jakarta.ws.rs](https://mvnrepository.com/artifact/jakarta.ws.rs) ยป [jakarta.ws.rs-api](https://mvnrepository.com/artifact/jakarta.ws.rs/jakarta.ws.rs-api)` in Spark because its package name has changed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
