File: 03_exclude-transactions-tests.patch

package info (click to toggle)
libcommons-dbcp-java 1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 2,964 kB
  • ctags: 4,837
  • sloc: java: 16,699; xml: 2,245; jsp: 84; sh: 12; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 808 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: Ignores the tests using geronimo-transaction which isn't available in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/pom.xml
+++ b/pom.xml
@@ -272,6 +272,20 @@
             <source>1.5</source>
             <target>1.5</target>
           </configuration>
+          <executions>
+            <execution>
+              <id>default-testCompile</id>
+              <phase>test-compile</phase>
+              <goals>
+                <goal>testCompile</goal>
+              </goals>
+              <configuration>
+                <testExcludes>
+                  <exclude>**/managed/**</exclude>
+                </testExcludes>
+              </configuration> 
+            </execution>
+          </executions>
         </plugin>
       </plugins>
     </build>