File: missing_jna_classes.patch

package info (click to toggle)
jsch 0.2.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,980 kB
  • sloc: java: 36,477; xml: 1,352; sh: 184; python: 57; makefile: 2
file content (36 lines) | stat: -rw-r--r-- 1,460 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Description: skipping tests requiring missing classes from jna
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2024-09-10

--- a/pom.xml
+++ b/pom.xml
@@ -335,6 +335,9 @@
                     <compilerArgs>
                         <arg>-Xlint:all,-processing,-classfile,-options</arg>
                     </compilerArgs>
+                    <excludes>
+                        <exclude>**/PageantConnector.java</exclude><!-- PageantConnector is for MS Windows -->
+                    </excludes>
                 </configuration>
                 <executions>
                     <execution>
@@ -402,6 +405,18 @@
                             <release>16</release>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>default-testCompile</id>
+                        <phase>test-compile</phase>
+                        <configuration>
+                            <testExcludes>
+                               <exclude>**/SSHAgentIT.java</exclude><!-- Needs unpackaged LibC class in libjna-java to initialize test class -->
+                            </testExcludes>
+                        </configuration>
+                        <goals>
+                            <goal>testCompile</goal>
+                        </goals>
+                     </execution>
                 </executions>
             </plugin>
             <plugin>