Added native support with GraalVM
This commit is contained in:
parent
827ab36e14
commit
486a72aa33
55
pom.xml
55
pom.xml
@ -23,10 +23,15 @@
|
||||
<required.maven.version>3.6.3</required.maven.version>
|
||||
|
||||
<!-- Dependency versions -->
|
||||
<jetbrains.annotations.version>23.0.0</jetbrains.annotations.version>
|
||||
<junit.version>5.8.2</junit.version>
|
||||
<lombok.version>1.18.24</lombok.version>
|
||||
<pmd.version>6.47.0</pmd.version>
|
||||
<spotbugs.version>4.7.1</spotbugs.version>
|
||||
|
||||
<!-- Plugin dependencies -->
|
||||
<codehaus.version.plugin>2.11.0</codehaus.version.plugin>
|
||||
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
|
||||
<maven.clean.plugin>3.2.0</maven.clean.plugin>
|
||||
<maven.compiler.plugin>3.10.1</maven.compiler.plugin>
|
||||
<maven.dependency.plugin>3.3.0</maven.dependency.plugin>
|
||||
@ -34,17 +39,13 @@
|
||||
<maven.enforcer.plugin>3.1.0</maven.enforcer.plugin>
|
||||
<maven.install.plugin>3.0.0-M1</maven.install.plugin>
|
||||
<maven.jar.plugin>3.2.2</maven.jar.plugin>
|
||||
<maven.pmd.plugin>3.16.0</maven.pmd.plugin>
|
||||
<maven.resources.plugin>3.2.0</maven.resources.plugin>
|
||||
<maven.site.plugin>4.0.0-M1</maven.site.plugin>
|
||||
<maven.surfire.plugin>3.0.0-M6</maven.surfire.plugin>
|
||||
<moditect.maven.plugin>1.0.0.RC2</moditect.maven.plugin>
|
||||
<jpackage.maven.plugin>0.1.3</jpackage.maven.plugin>
|
||||
<maven.pmd.plugin>3.16.0</maven.pmd.plugin>
|
||||
<pmd.version>6.47.0</pmd.version>
|
||||
<codehaus.version.plugin>2.11.0</codehaus.version.plugin>
|
||||
<native.maven.plugin>0.9.17</native.maven.plugin>
|
||||
<spotbugs.maven.plugin>4.7.1.0</spotbugs.maven.plugin>
|
||||
<spotbugs.version>4.7.1</spotbugs.version>
|
||||
<jetbrains.annotations.version>23.0.0</jetbrains.annotations.version>
|
||||
|
||||
<!-- other properties -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -53,8 +54,43 @@
|
||||
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>native</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.graalvm.buildtools</groupId>
|
||||
<artifactId>native-maven-plugin</artifactId>
|
||||
<version>${native.maven.plugin}</version>
|
||||
<extensions>true</extensions>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>build-native</id>
|
||||
<goals>
|
||||
<goal>build</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>test-native</id>
|
||||
<goals>
|
||||
<goal>test</goal>
|
||||
</goals>
|
||||
<phase>test</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- ... -->
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<dependencies>
|
||||
|
||||
<!-- Lombok -->
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
@ -62,12 +98,19 @@
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- JUnit 5 -->
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- Dependency used for @NotNull / @Nullable -->
|
||||
<dependency>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user