<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <!-- Work around bug SUREFIRE-1831 in failsafe 3.0.0-M5 -->
+ <failsafe.useModulePath>false</failsafe.useModulePath>
+
<!-- Paths that come from UST's default "make install".
Override to specify other locations. -->
<common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.1</version>
+ <version>3.9.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</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>
- <version>2.19.1</version>
+ <version>3.0.0-M5</version>
<executions>
<execution>
<goals>
<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>