This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push:
new 89c357d6 Allow separate testing of JNI/JNA
89c357d6 is described below
commit 89c357d697ab01ccd62f4a604736932038a3e288
Author: Sebb <[email protected]>
AuthorDate: Wed Nov 8 01:44:01 2023 +0000
Allow separate testing of JNI/JNA
[skip ci]
---
pom.xml | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/pom.xml b/pom.xml
index c9f90d5e..1cf2053b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -329,6 +329,42 @@ The following provides more details on the included
cryptographic software:
</build>
</profile>
+ <!-- Allow testing of JNI code only -->
+ <profile>
+ <id>testjni</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/jna/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!-- Allow testing of JNA code only -->
+ <profile>
+ <id>testjna</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/jna/**</include>
+ </includes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<profile>
<activation>
<jdk>[11.,)</jdk>