Windows build
This commit is contained in:
parent
fa9efb30c4
commit
d9697b7da6
84
pom.xml
84
pom.xml
@ -77,6 +77,82 @@
|
|||||||
<target>18</target>
|
<target>18</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<mainClass>guru.dead.icf320.Main</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
<descriptorRefs>
|
||||||
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||||
|
</descriptorRefs>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>make-assembly</id> <!-- this is used for inheritance merges -->
|
||||||
|
<phase>package</phase> <!-- bind to the packaging phase -->
|
||||||
|
<goals>
|
||||||
|
<goal>single</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>copy-dependencies</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>copy-dependencies</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
||||||
|
<overWriteReleases>false</overWriteReleases>
|
||||||
|
<overWriteSnapshots>false</overWriteSnapshots>
|
||||||
|
<overWriteIfNewer>true</overWriteIfNewer>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<archive>
|
||||||
|
<manifest>
|
||||||
|
<addClasspath>true</addClasspath>
|
||||||
|
<classpathPrefix>lib/</classpathPrefix>
|
||||||
|
<mainClass>guru.dead.icf320.Main</mainClass>
|
||||||
|
</manifest>
|
||||||
|
</archive>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.panteleyev</groupId>
|
||||||
|
<artifactId>jpackage-maven-plugin</artifactId>
|
||||||
|
<version>1.6.0</version>
|
||||||
|
<configuration>
|
||||||
|
<name>icf320</name>
|
||||||
|
<appVersion>1.0.0</appVersion>
|
||||||
|
<vendor>guru.dead</vendor>
|
||||||
|
<input>target/dependency</input>
|
||||||
|
<destination>target/dist</destination>
|
||||||
|
<mainClass>guru.dead.icf320.Main</mainClass>
|
||||||
|
<mainJar>../icf320-1.0-SNAPSHOT-jar-with-dependencies.jar</mainJar>
|
||||||
|
<runtimeImage>target/icf320</runtimeImage>
|
||||||
|
<linuxShortcut>true</linuxShortcut>
|
||||||
|
<linuxPackageName>icf320</linuxPackageName>
|
||||||
|
<linuxAppCategory>Utilities</linuxAppCategory>
|
||||||
|
<linuxMenuGroup>Utilities</linuxMenuGroup>
|
||||||
|
<javaOptions>
|
||||||
|
<option>-Dfile.encoding=UTF-8</option>
|
||||||
|
</javaOptions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-maven-plugin</artifactId>
|
<artifactId>javafx-maven-plugin</artifactId>
|
||||||
@ -86,10 +162,10 @@
|
|||||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
<!-- Default configuration for running with: mvn clean javafx:run -->
|
||||||
<id>default-cli</id>
|
<id>default-cli</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>guru.dead.icf320/guru.dead.icf320.HelloApplication</mainClass>
|
<mainClass>guru.dead.icf320.Main</mainClass>
|
||||||
<launcher>app</launcher>
|
<launcher>icf320</launcher>
|
||||||
<jlinkZipName>app</jlinkZipName>
|
<jlinkZipName>icf320</jlinkZipName>
|
||||||
<jlinkImageName>app</jlinkImageName>
|
<jlinkImageName>icf320</jlinkImageName>
|
||||||
<noManPages>true</noManPages>
|
<noManPages>true</noManPages>
|
||||||
<stripDebug>true</stripDebug>
|
<stripDebug>true</stripDebug>
|
||||||
<noHeaderFiles>true</noHeaderFiles>
|
<noHeaderFiles>true</noHeaderFiles>
|
||||||
|
7
src/main/java/guru/dead/icf320/Main.java
Normal file
7
src/main/java/guru/dead/icf320/Main.java
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package guru.dead.icf320;
|
||||||
|
|
||||||
|
public class Main {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
MainApplication.main(args);
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
module guru.dead.icf320 {
|
module icf320 {
|
||||||
requires javafx.controls;
|
requires javafx.controls;
|
||||||
requires javafx.fxml;
|
requires javafx.fxml;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user