slfan1989 commented on PR #7019:
URL: https://github.com/apache/hadoop/pull/7019#issuecomment-2588706048
The compilation report contains the following error:
```
ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-federation-balance: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-dynamometer-infra: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-archive-logs: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-gridmix: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-aws: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-azure: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-sls: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test (default-test) on
project hadoop-azure-datalake: Execution default-test of goal
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M1:test failed:
java.lang.NoClassDefFoundError:
org/junit/platform/launcher/core/LauncherFactory:
org.junit.platform.launcher.core.LauncherFactory -> [Help 1]
```
I will add the following dependencies to the relevant module.
```
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
```
--
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]