[INFO] Scanning for projects... [INFO] [INFO] -------------------< pro.taskana:taskana-core-test >-------------------- [INFO] Building pro.taskana:taskana-core-test 5.6.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ taskana-core-test --- [INFO] Deleting /home/mustapha/Projects/taskana/lib/taskana-core-test/target [INFO] [INFO] --- jacoco-maven-plugin:0.8.8:prepare-agent (prepare-agent) @ taskana-core-test --- [INFO] argLine set to -javaagent:/home/mustapha/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/home/mustapha/Projects/taskana/lib/taskana-core-test/target/jacoco.exec [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ taskana-core-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/mustapha/Projects/taskana/lib/taskana-core-test/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ taskana-core-test --- [INFO] No sources to compile [INFO] [INFO] --- aspectj-maven-plugin:1.14.0:compile (default) @ taskana-core-test --- [WARNING] No sources found skipping aspectJ compile [INFO] [INFO] --- maven-checkstyle-plugin:3.2.0:check (default) @ taskana-core-test --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ taskana-core-test --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ taskana-core-test --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 30 source files to /home/mustapha/Projects/taskana/lib/taskana-core-test/target/test-classes [INFO] [INFO] --- aspectj-maven-plugin:1.14.0:test-compile (default) @ taskana-core-test --- [INFO] Showing AJC message detail for messages of types: [error, warning, fail] [WARNING] build config error: skipping missing, empty or corrupt aspectpath entry: /home/mustapha/Projects/taskana/lib/taskana-core-test/target/classes : [WARNING] bad version number found in /home/mustapha/.m2/repository/org/aspectj/aspectjrt/1.9.7/aspectjrt-1.9.7.jar expected 1.9.9.1 found 1.9.7 : [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ taskana-core-test --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running acceptance.ArchitectureTest [ERROR] Tests run: 42, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 6.118 s <<< FAILURE! - in acceptance.ArchitectureTest [ERROR] acceptance.ArchitectureTest.classesShouldBeFreeOfCyclicDependencies Time elapsed: 1.044 s <<< FAILURE! java.lang.AssertionError: Architecture Violation [Priority: MEDIUM] - Rule 'slices assigned from every single class should be free of cycles' was violated (1 times): Cycle detected: Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer -> Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer$InstantPropertyParser -> Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer 1. Dependencies of Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer - Static Initializer ()> calls constructor ()> in (TaskanaConfigurationInitializer.java:51) 2. Dependencies of Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer$InstantPropertyParser - Method calls method in (TaskanaConfigurationInitializer.java:152) at acceptance.ArchitectureTest.classesShouldBeFreeOfCyclicDependencies(ArchitectureTest.java:251) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] ArchitectureTest.classesShouldBeFreeOfCyclicDependencies:251 Architecture Violation [Priority: MEDIUM] - Rule 'slices assigned from every single class should be free of cycles' was violated (1 times): Cycle detected: Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer -> Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer$InstantPropertyParser -> Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer 1. Dependencies of Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer - Static Initializer ()> calls constructor ()> in (TaskanaConfigurationInitializer.java:51) 2. Dependencies of Slice pro.taskana.common.internal.configuration.TaskanaConfigurationInitializer$InstantPropertyParser - Method calls method in (TaskanaConfigurationInitializer.java:152) [INFO] [ERROR] Tests run: 42, Failures: 1, Errors: 0, Skipped: 2 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.552 s [INFO] Finished at: 2022-09-12T11:21:18+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project taskana-core-test: There are test failures. [ERROR] [ERROR] Please refer to /home/mustapha/Projects/taskana/lib/taskana-core-test/target/surefire-reports for the individual test results. [ERROR] Please refer to 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