[INFO] Scanning for projects... [INFO] [INFO] ---------------< com.aikitguides:boot4-verification-lab >--------------- [INFO] Building boot4-verification-lab 1.0.0 [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ boot4-verification-lab --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.14.0:compile (default-compile) @ boot4-verification-lab --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ boot4-verification-lab --- [INFO] skip non existing resourceDirectory /src/test/resources [INFO] [INFO] --- compiler:3.14.0:testCompile (default-testCompile) @ boot4-verification-lab --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.5.4:test (default-test) @ boot4-verification-lab --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running guides.bootlab.UndiscoveredShould [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.016 s <<< FAILURE! -- in guides.bootlab.UndiscoveredShould [ERROR] guides.bootlab.UndiscoveredShould.explicitSelectionRevealsTheFailure -- Time elapsed: 0.010 s <<< FAILURE! org.opentest4j.AssertionFailedError: DISCOVERY_SENTINEL: this intentionally failing test was explicitly selected at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:42) at org.junit.jupiter.api.Assertions.fail(Assertions.java:143) at guides.bootlab.UndiscoveredShould.explicitSelectionRevealsTheFailure(UndiscoveredShould.java:9) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] UndiscoveredShould.explicitSelectionRevealsTheFailure:9 DISCOVERY_SENTINEL: this intentionally failing test was explicitly selected [INFO] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.605 s [INFO] Finished at: 2026-10-23T11:49:00+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.4:test (default-test) on project boot4-verification-lab: There are test failures. [ERROR] [ERROR] See /target/surefire-reports for the individual test results. [ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException