Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPi4c committed Jan 7, 2024
1 parent a3981d3 commit 16a9d01
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 4 deletions.
Empty file.
74 changes: 70 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javafx.version>16</javafx.version> <!-- Version 16 is used to resolve conflicts with monacoFX -->
<junit.version>5.8.2</junit.version>
<derby.version>10.17.1.0</derby.version>
<derby.version>10.16.1.1</derby.version>
<lombok.version>1.18.24</lombok.version>
</properties>

<build>
Expand All @@ -19,8 +20,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>21</source>
<target>21</target>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -205,7 +211,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.30</version>
<version>${lombok.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -233,4 +239,64 @@
<scope>test</scope>
</dependency>
</dependencies>


<profiles>
<profile>
<id>linux-deb</id>
<build>
<plugins>
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<configuration>
<type>DEB</type>
<linuxShortcut>true</linuxShortcut>
<linuxPackageName>RobbiSimulator</linuxPackageName>
<linuxAppCategory>Utilities</linuxAppCategory>
<linuxMenuGroup>Utilities</linuxMenuGroup>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jpackage</id>
<build>
<plugins>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.8</version>
<configuration>
<stripDebug>true</stripDebug>
<compress>1</compress>
<noHeaderFiles>true</noHeaderFiles>
<noManPages>true</noManPages>
<jlinkImageName>RobbiSimulator</jlinkImageName>
<jlinkZipName>RobbiSimulator</jlinkZipName>
<launcher>launcher</launcher>
<mainClass>com.JayPi4c.RobbiSimulator.Launcher</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<name>RobbiSimulator</name>
<vendor>JayPi4c</vendor>
<destination>target/dist</destination>
<mainClass>com.JayPi4c.RobbiSimulator.Launcher</mainClass>
<runtimeImage>target/RobbiSimulator</runtimeImage>
<resourceDir>./jpackage</resourceDir>
<javaOptions>
<option>-Dfile.encoding=UTF-8</option>
</javaOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 16a9d01

Please sign in to comment.