2026-06-09 20:30:29 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>org.wickra.examples</groupId>
|
|
|
|
|
<artifactId>wickra-examples</artifactId>
|
2026-06-15 06:02:05 +02:00
|
|
|
<version>0.9.2</version>
|
2026-06-09 20:30:29 +02:00
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>Wickra Java examples</name>
|
|
|
|
|
<description>Runnable examples for the Wickra Java binding.</description>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<maven.compiler.release>22</maven.compiler.release>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.wickra</groupId>
|
|
|
|
|
<artifactId>wickra</artifactId>
|
2026-06-15 06:02:05 +02:00
|
|
|
<version>0.9.2</version>
|
2026-06-09 20:30:29 +02:00
|
|
|
</dependency>
|
|
|
|
|
<!-- Only the network examples (fetch_btcusdt) parse JSON. -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2026-06-13 01:01:44 +02:00
|
|
|
<version>2.22.0</version>
|
2026-06-09 20:30:29 +02:00
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2026-06-13 01:01:49 +02:00
|
|
|
<version>3.15.0</version>
|
2026-06-09 20:30:29 +02:00
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
Run an example in a forked JVM with native access granted:
|
|
|
|
|
mvn exec:exec -Dexec.mainClass=org.wickra.examples.Streaming
|
|
|
|
|
-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2026-06-13 01:01:55 +02:00
|
|
|
<version>3.6.3</version>
|
2026-06-09 20:30:29 +02:00
|
|
|
<configuration>
|
|
|
|
|
<executable>${java.home}/bin/java</executable>
|
|
|
|
|
<arguments>
|
|
|
|
|
<argument>--enable-native-access=ALL-UNNAMED</argument>
|
|
|
|
|
<argument>-classpath</argument>
|
|
|
|
|
<classpath/>
|
|
|
|
|
<argument>${exec.mainClass}</argument>
|
|
|
|
|
</arguments>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|