Skip to content

Commit a4ad848

Browse files
authored
Fix warnings when running tests (#188) Fixes #187
* Fix test logging implementation * Silence complaints about bytebudddy (surefire dependency)
1 parent 8cd7e6a commit a4ad848

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

main/pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,29 @@
4848
</testResource>
4949
</testResources>
5050
<plugins>
51+
<plugin>
52+
<groupId>net.bytebuddy</groupId>
53+
<artifactId>byte-buddy-agent</artifactId>
54+
<version>1.14.5</version>
55+
</plugin>
56+
<plugin>
57+
<groupId>org.apache.maven.plugins</groupId>
58+
<artifactId>maven-dependency-plugin</artifactId>
59+
<version>3.6.1</version>
60+
<executions>
61+
<execution>
62+
<goals>
63+
<goal>properties</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
5168
<plugin>
5269
<groupId>org.apache.maven.plugins</groupId>
5370
<artifactId>maven-surefire-plugin</artifactId>
5471
<version>3.5.2</version>
5572
<configuration>
73+
<argLine> -javaagent:${net.bytebuddy:byte-buddy-agent:jar}</argLine>
5674
<suiteXmlFiles>
5775
<suiteXmlFile>tests/conf/tests.xml</suiteXmlFile>
5876
</suiteXmlFiles>
@@ -104,7 +122,7 @@
104122
</dependency>
105123
<dependency>
106124
<groupId>org.apache.logging.log4j</groupId>
107-
<artifactId>log4j-slf4j-impl</artifactId>
125+
<artifactId>log4j-slf4j2-impl</artifactId>
108126
<version>${log4j.version}</version>
109127
<scope>test</scope>
110128
</dependency>

0 commit comments

Comments
 (0)