Skip to content

Commit c58b757

Browse files
committed
Use JUnit BOM instead of version property
1 parent 651fd79 commit c58b757

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pom.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@
114114
</distributionManagement>
115115

116116
<properties>
117-
<junit.version>5.8.2</junit.version>
118-
119117
<maven-fluido-skin.version>1.10.0</maven-fluido-skin.version>
120118

121119
<!-- all 3 are needed, because some plugins might use the source/target variables -->
@@ -140,6 +138,13 @@
140138
<type>pom</type>
141139
<scope>import</scope>
142140
</dependency>
141+
<dependency>
142+
<groupId>org.junit</groupId>
143+
<artifactId>junit-bom</artifactId>
144+
<version>5.8.2</version>
145+
<type>pom</type>
146+
<scope>import</scope>
147+
</dependency>
143148
<dependency>
144149
<!-- transitive dependency of org.eclipse.jdt.core resolved here to avoid version range -->
145150
<groupId>org.eclipse.platform</groupId>
@@ -322,13 +327,11 @@
322327
<dependency>
323328
<groupId>org.junit.jupiter</groupId>
324329
<artifactId>junit-jupiter-api</artifactId>
325-
<version>${junit.version}</version>
326330
<scope>test</scope>
327331
</dependency>
328332
<dependency>
329333
<groupId>org.junit.jupiter</groupId>
330334
<artifactId>junit-jupiter-engine</artifactId>
331-
<version>${junit.version}</version>
332335
<scope>test</scope>
333336
</dependency>
334337
</dependencies>

0 commit comments

Comments
 (0)