Skip to content

Commit 9629742

Browse files
committed
add bom for tests
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 47d4f13 commit 9629742

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

pom.xml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<packaging>pom</packaging>
56
<modelVersion>4.0.0</modelVersion>
@@ -94,7 +95,7 @@
9495
<!-- test dependencies -->
9596
<dependency>
9697
<groupId>org.junit.jupiter</groupId>
97-
<artifactId>junit-jupiter-engine</artifactId>
98+
<artifactId>junit-jupiter</artifactId>
9899
<version>${junit-jupiter.version}</version>
99100
<scope>test</scope>
100101
</dependency>
@@ -317,7 +318,8 @@
317318
<configuration>
318319
<rules>
319320
<requirePluginVersions>
320-
<unCheckedPluginList>org.springframework.boot:spring-boot-maven-plugin
321+
<unCheckedPluginList>
322+
org.springframework.boot:spring-boot-maven-plugin
321323
</unCheckedPluginList>
322324
</requirePluginVersions>
323325
</rules>
@@ -428,6 +430,17 @@
428430
<module>benchmarks</module>
429431
<module>integration-tests</module>
430432
</modules>
433+
<dependencyManagement>
434+
<dependencies>
435+
<dependency>
436+
<groupId>org.junit</groupId>
437+
<artifactId>junit-bom</artifactId>
438+
<version>${junit-jupiter.version}</version>
439+
<type>pom</type>
440+
<scope>import</scope>
441+
</dependency>
442+
</dependencies>
443+
</dependencyManagement>
431444
</profile>
432445
<profile>
433446
<id>javadoc</id>

0 commit comments

Comments
 (0)