File: omit_unused_junit_classes_and_integration_tests.patch

package info (click to toggle)
snpeff 5.2.f%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 701,384 kB
  • sloc: java: 62,547; perl: 2,279; sh: 1,185; python: 744; xml: 507; makefile: 50
file content (36 lines) | stat: -rw-r--r-- 1,081 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
Description: compiling and running unit tests in the Maven test step
 No need to compile the tests during the compile step.
 Not running integration tests.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-01-29

--- a/pom.xml
+++ b/pom.xml
@@ -172,6 +172,9 @@
 			<encoding>ISO-8859-1</encoding>
 			<showDeprecation>true</showDeprecation>
 			<showWarnings>true</showWarnings>
+                        <excludes>
+                          <exclude>**/snpEffect/testCases/**</exclude>
+                        </excludes>
         </configuration>
       </plugin>
       <plugin>
@@ -205,6 +208,16 @@
           <encoding>ISO-8859-1</encoding>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.22.0</version>
+        <configuration>
+          <excludes>
+            <exclude>**/integration/**</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>