From 06bcfe38bdecac955d6228b8d61e06a148f4b8ed Mon Sep 17 00:00:00 2001 From: gluser1357 Date: Tue, 19 Sep 2023 21:50:00 +0200 Subject: [PATCH] remove junit from wicket-util main --- wicket-util/pom.xml | 3 +-- wicket-util/src/main/java/module-info.java | 2 -- .../apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java | 0 .../java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent | 0 .../java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent | 0 .../java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent | 0 .../java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd | 0 .../apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd | 0 8 files changed, 1 insertion(+), 4 deletions(-) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java (100%) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent (100%) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent (100%) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent (100%) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd (100%) rename wicket-util/src/{main => test}/java/org/apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd (100%) diff --git a/wicket-util/pom.xml b/wicket-util/pom.xml index b1f8945f165..f4d8b626a8a 100755 --- a/wicket-util/pom.xml +++ b/wicket-util/pom.xml @@ -47,8 +47,7 @@ org.junit.jupiter junit-jupiter-engine - compile - true + test diff --git a/wicket-util/src/main/java/module-info.java b/wicket-util/src/main/java/module-info.java index 7ccc71999bc..972f70cfdba 100644 --- a/wicket-util/src/main/java/module-info.java +++ b/wicket-util/src/main/java/module-info.java @@ -25,7 +25,6 @@ requires org.apache.commons.collections4; requires org.slf4j; requires static jakarta.servlet; - requires org.junit.jupiter.api; exports org.apache.wicket.util; exports org.apache.wicket.util.collections; @@ -39,7 +38,6 @@ exports org.apache.wicket.util.io; exports org.apache.wicket.util.lang; exports org.apache.wicket.util.listener; - exports org.apache.wicket.util.markup.xhtml; exports org.apache.wicket.util.parse.metapattern; exports org.apache.wicket.util.parse.metapattern.parsers; exports org.apache.wicket.util.resource; diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/WellFormedXmlTestCase.java diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-lat1.ent diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-special.ent diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml-symbol.ent diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml1-strict.dtd diff --git a/wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd b/wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd similarity index 100% rename from wicket-util/src/main/java/org/apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd rename to wicket-util/src/test/java/org/apache/wicket/util/markup/xhtml/xhtml1-transitional.dtd