File: 07_disable_log4j2_tests.patch

package info (click to toggle)
libcommons-logging-java 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,304 kB
  • sloc: java: 6,343; xml: 3,413; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 729 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Skips the compilation of the log4j2 tests
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/pom.xml
+++ b/pom.xml
@@ -198,6 +198,15 @@
     <!-- TODO spotbugs:check -->
     <defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc checkstyle:check pmd:check</defaultGoal>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <testExcludes>
+            <testExclude>**/log4j2/**</testExclude>
+          </testExcludes>
+        </configuration>
+      </plugin>
 
       <!--
         - We want to create four jarfiles from this project: normal, tests, api