Skip to content

Commit

Permalink
Fixes #394 - Create cli-windows-amd64 module (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 25, 2024
1 parent d8ad601 commit 89a61ee
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
61 changes: 61 additions & 0 deletions cli-windows-amd64/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?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>
<parent>
<groupId>com.manorrock.sphynx</groupId>
<artifactId>project</artifactId>
<version>24.5.0-SNAPSHOT</version>
</parent>
<artifactId>sphynx-cli-windows-amd64</artifactId>
<packaging>jar</packaging>
<name>Manorrock Sphynx - CLI - Windows amd64</name>
<dependencies>
<dependency>
<groupId>com.manorrock.sphynx</groupId>
<artifactId>sphynx-cli</artifactId>
<version>${project.version}</version>
<classifier>all</classifier>
<scope>compile</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>native</id>
<activation>
<property>
<name>os_and_arch</name>
<value>windows-amd64</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-image-maven-plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>compile-no-fork</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
<configuration>
<imageName>si</imageName>
<buildArgs>-H:+ReportExceptionStackTraces --no-fallback</buildArgs>
<mainClass>com.manorrock.sphynx.cli.Cli</mainClass>
<skip>false</skip>
<verbose>true</verbose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<modules>
<module>cli</module>
<module>cli-macos-aarch64</module>
<module>cli-windows-amd64</module>
<module>desktop</module>
<module>shared</module>
<module>server</module>
Expand Down

0 comments on commit 89a61ee

Please sign in to comment.