Skip to content

Commit

Permalink
Fixes #80 - Create a GraalVM binary
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Apr 5, 2024
1 parent 8f6d98a commit f6e0ea5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<maven-shade-plugin.version>3.3.0</maven-shade-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<native-maven-plugin.version>0.10.1</native-maven-plugin.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
</properties>
<build>
Expand Down Expand Up @@ -154,6 +155,36 @@
</snapshotRepository>
</distributionManagement>
<profiles>
<profile>
<id>graalvm</id>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-maven-plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<id>build-native</id>
<goals>
<goal>build</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<buildArgs>
<buildArg>--no-fallback --install-exit-handlers</buildArg>
</buildArgs>
<fallback>false</fallback>
<imageName>parrot</imageName>
<verbose>true</verbose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<build>
Expand Down

0 comments on commit f6e0ea5

Please sign in to comment.