[
https://issues.apache.org/jira/browse/SPARK-44377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie reassigned SPARK-44377:
--------------------------------
Assignee: Yang Jie
> exclude junit5 deps from jersey-test-framework-provider-simple
> --------------------------------------------------------------
>
> Key: SPARK-44377
> URL: https://issues.apache.org/jira/browse/SPARK-44377
> Project: Spark
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.5.0
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Major
>
> SPARK-44316 upgrade Jersey from 2.36 to 2.40. Jersey 2.38 start to use
> [Junit5 instead of Junit4|https://github.com/eclipse-ee4j/jersey/pull/5123],
> Spark core module uses
> `org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-simple:2.40`,
> which cascades and introduces the dependencies of Junit5, this causes Java
> tests no longer be executed when performing maven tests on the core module.
> run `mvn clean install -pl core -am`
>
> {code:java}
> [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ spark-core_2.12
> ---
> [INFO] Using auto detected provider
> org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO]
> [INFO] Results:
> [INFO]
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-surefire-plugin:3.1.2:test (test) @ spark-core_2.12 ---
> [INFO] Skipping execution of surefire because it has already been run for
> this configuration{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]