Bump log4j2 test dependencies
[lttng-ust-java-tests.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e64a7b1b4937bfdc999cd767ca0d01f9f53b088d..7dd56aa3e0bcce1adc6bce8a049ad4efcdcd1cd3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           </configuration>
         </plugin>
 
+       <!-- Set Surefire to the same version as Failsafe even if we don't use
+            it. Otherwise, Maven will invoke a random default version and if
+            we specify a user property used by both plugins on the command
+            line things could go wrong. -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>3.0.0-M5</version>
+        </plugin>
+
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-failsafe-plugin</artifactId>
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-api</artifactId>
-        <version>2.17.1</version>
+        <version>2.22.1</version>
       </dependency>
 
       <dependency>
         <groupId>org.apache.logging.log4j</groupId>
         <artifactId>log4j-core</artifactId>
-        <version>2.17.1</version>
+        <version>2.22.1</version>
       </dependency>
 
       <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.13.2</version>
-        <scope>test</scope>
+        <groupId>org.junit</groupId>
+        <artifactId>junit-bom</artifactId>
+        <version>5.8.2</version>
+        <type>pom</type>
+        <scope>import</scope>
       </dependency>
 
       <!-- System dependencies, should have been installed by UST -->
         <groupId>org.lttng.ust</groupId>
         <artifactId>lttng-ust-java-tests-common</artifactId>
         <version>1.1.0-SNAPSHOT</version>
-        <scope>test</scope>
       </dependency>
     </dependencies>
   </dependencyManagement>
This page took 0.022911 seconds and 4 git commands to generate.