diff --git a/modules/sawdust.alpha/pom.xml b/modules/sawdust.alpha/pom.xml index e490bc5..655f037 100644 --- a/modules/sawdust.alpha/pom.xml +++ b/modules/sawdust.alpha/pom.xml @@ -11,7 +11,6 @@ sawdust.alpha - 1.0-SNAPSHOT target/maven @@ -19,21 +18,33 @@ src/test/java/sawdust.alpha - org.apache.maven.plugins - maven-compiler-plugin + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + launch-console + test + + exec + + + - - module-info.java - + test + false + java + + --module-path + + --add-modules + ALL-MODULE-PATH + --module + org.junit.platform.console + --scan-modules + - - - - - - - diff --git a/modules/user.view/pom.xml b/modules/user.view/pom.xml index 494cdfd..360477f 100644 --- a/modules/user.view/pom.xml +++ b/modules/user.view/pom.xml @@ -18,29 +18,38 @@ sawdust.alpha 1.0-SNAPSHOT - - org.junit.jupiter - junit-jupiter-api - ${jupiter.version} - - - org.junit.jupiter - junit-jupiter-engine - ${jupiter.version} - runtime - target/maven - src/test/java/user.view - + src/test/java/user.view - maven-surefire-plugin - 2.22.0 + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + launch-console + test + + exec + + + - -Dmodular.tests=true -Djunit.jupiter.execution.parallel.enabled=true + test + false + java + + --module-path + + --add-modules + ALL-MODULE-PATH + --module + org.junit.platform.console + --scan-modules + diff --git a/modules/user.view/src/test/java/user.view/user/view/UserViewTests.java b/modules/user.view/src/test/java/user.view/user/view/UserViewTests.java index cd5457f..559f6c4 100644 --- a/modules/user.view/src/test/java/user.view/user/view/UserViewTests.java +++ b/modules/user.view/src/test/java/user.view/user/view/UserViewTests.java @@ -6,7 +6,6 @@ import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledIfSystemProperty; import sawdust.alpha.AlphaPublic; @DisplayName("[user.view] UserViewTests") @@ -17,7 +16,6 @@ void accessExportedTypes() { } @Test - @EnabledIfSystemProperty(named = "modular.tests", matches = "true") void modular() { var module = UserViewTests.class.getModule(); assertEquals("user.view", module.getName()); diff --git a/pom.xml b/pom.xml index 0cf0eca..6ef02ab 100644 --- a/pom.xml +++ b/pom.xml @@ -14,8 +14,8 @@ UTF-8 1.8.0-beta2 1.0.0 - 5.3.0-M1 - 1.3.0-M1 + 5.3.0-RC1 + 1.3.0-RC1 @@ -35,11 +35,18 @@ junit-jupiter-api ${jupiter.version} + + + org.junit.platform + junit-platform-console + ${platform.version} + runtime + - test org.junit.jupiter junit-jupiter-engine ${jupiter.version} + runtime @@ -50,19 +57,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.8.0 10 true true - - - org.ow2.asm - asm - 6.2 - -