Skip to content

Commit 9466dde

Browse files
authored
[BAEL-4204] JNA (eugenp#10113)
* [BAEL-4203] JNA * [BAEL-4203] JNA
1 parent fa3946c commit 9466dde

29 files changed

Lines changed: 225 additions & 16 deletions
File renamed without changes.

java-native/pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<artifactId>java-native</artifactId>
7+
<name>java-native</name>
8+
9+
<parent>
10+
<groupId>com.baeldung</groupId>
11+
<artifactId>parent-modules</artifactId>
12+
<version>1.0.0-SNAPSHOT</version>
13+
</parent>
14+
15+
<properties>
16+
<jna.version>5.6.0</jna.version>
17+
</properties>
18+
19+
<dependencies>
20+
<dependency>
21+
<groupId>net.java.dev.jna</groupId>
22+
<artifactId>jna-platform</artifactId>
23+
<version>${jna.version}</version>
24+
</dependency>
25+
</dependencies>
26+
27+
<build>
28+
<plugins>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-surefire-plugin</artifactId>
32+
<configuration>
33+
<!-- we don't want to reuse JVMs here ! -->
34+
<reuseForks>false</reuseForks>
35+
</configuration>
36+
</plugin>
37+
</plugins>
38+
</build>
39+
</project>

jni/src/main/cpp/com_baeldung_jni_ExampleObjectsJNI.cpp renamed to java-native/src/main/cpp/com_baeldung_jni_ExampleObjectsJNI.cpp

File renamed without changes.

jni/src/main/cpp/com_baeldung_jni_ExampleObjectsJNI.h renamed to java-native/src/main/cpp/com_baeldung_jni_ExampleObjectsJNI.h

File renamed without changes.

jni/src/main/cpp/com_baeldung_jni_ExampleParametersJNI.cpp renamed to java-native/src/main/cpp/com_baeldung_jni_ExampleParametersJNI.cpp

File renamed without changes.

jni/src/main/cpp/com_baeldung_jni_ExampleParametersJNI.h renamed to java-native/src/main/cpp/com_baeldung_jni_ExampleParametersJNI.h

File renamed without changes.

jni/src/main/cpp/com_baeldung_jni_HelloWorldJNI.cpp renamed to java-native/src/main/cpp/com_baeldung_jni_HelloWorldJNI.cpp

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)