Skip to content

Commit

Permalink
Merge pull request #1631 from gritGmbH/enhancement/re-enable-logger-i…
Browse files Browse the repository at this point in the history
…n-maven-build

Re-enable logging when running tests in maven build
  • Loading branch information
tfr42 authored Feb 21, 2024
2 parents ca5bd6b + 4e9059d commit 6a51fcd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.2</version>
<configuration>
<!-- provide simple logging for unit tests -->
<additionalClasspathDependencies>
<additionalClasspathDependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</additionalClasspathDependency>
</additionalClasspathDependencies>
<systemProperties>
<org.slf4j.simpleLogger.defaultLogLevel>warn</org.slf4j.simpleLogger.defaultLogLevel>
</systemProperties>
<!-- Travis build workaround -->
<argLine>-Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms1024m -Xmx2048m --illegal-access=permit
--add-opens java.base/java.lang=ALL-UNNAMED
Expand Down Expand Up @@ -675,6 +686,11 @@
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- 3d -->
<dependency>
<groupId>jogl</groupId>
Expand Down

0 comments on commit 6a51fcd

Please sign in to comment.