58 lines
1.8 KiB
XML
58 lines
1.8 KiB
XML
<?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.benchmarks</groupId>
|
|
<artifactId>wickra-benchmarks</artifactId>
|
|
<version>0.8.2</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Wickra Java benchmarks</name>
|
|
<description>Throughput benchmark 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>
|
|
<version>0.8.2</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.15.0</version>
|
|
</plugin>
|
|
|
|
<!--
|
|
Run the benchmark in a forked JVM with native access granted:
|
|
mvn exec:exec -Dexec.mainClass=org.wickra.benchmarks.Throughput
|
|
Requires the C ABI library and the installed binding; see Throughput.java.
|
|
-->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.6.3</version>
|
|
<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>
|