This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch DOXIA-721 in repository https://gitbox.apache.org/repos/asf/maven-doxia.git
commit 84df2d4fa4074aececb1c397900460e81e3248ca Author: Sylwester Lachiewicz <slachiew...@gmail.com> AuthorDate: Sat Dec 30 22:37:14 2023 +0100 [DOXIA-721] Bump JUnit to 5.10.1 --- doxia-core/pom.xml | 5 +++++ doxia-modules/pom.xml | 5 +++++ pom.xml | 27 +++++---------------------- 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/doxia-core/pom.xml b/doxia-core/pom.xml index 98558551..4ed1ab3c 100644 --- a/doxia-core/pom.xml +++ b/doxia-core/pom.xml @@ -68,6 +68,11 @@ under the License. <artifactId>plexus-testing</artifactId> <scope>test</scope> </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> diff --git a/doxia-modules/pom.xml b/doxia-modules/pom.xml index 126aa3a1..b9efa960 100644 --- a/doxia-modules/pom.xml +++ b/doxia-modules/pom.xml @@ -53,6 +53,11 @@ under the License. </dependency> <!-- test --> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <scope>test</scope> + </dependency> <dependency> <groupId>org.apache.maven.doxia</groupId> <artifactId>doxia-core</artifactId> diff --git a/pom.xml b/pom.xml index 62951bce..ef902d49 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,6 @@ under the License. <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,MethodName,InnerAssignment,MagicNumber</checkstyle.violation.ignore> <project.build.outputTimestamp>2023-10-13T19:24:20Z</project.build.outputTimestamp> <slf4jVersion>1.7.36</slf4jVersion> - <junitVersion>5.10.0</junitVersion> <sisuVersion>0.3.5</sisuVersion> <xmlunitVersion>2.9.1</xmlunitVersion> </properties> @@ -215,14 +214,11 @@ under the License. </dependency> <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-api</artifactId> - <version>${junitVersion}</version> - </dependency> - <dependency> - <groupId>org.junit.jupiter</groupId> - <artifactId>junit-jupiter-engine</artifactId> - <version>${junitVersion}</version> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <version>5.10.1</version> + <type>pom</type> + <scope>import</scope> </dependency> <dependency> @@ -238,19 +234,6 @@ under the License. </dependencies> </dependencyManagement> - <dependencies> - <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> - </dependencies> - <pluginRepositories> <pluginRepository> <releases>