Advertisement
Guest User

pom.xml

a guest
May 28th, 2024
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.12 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>com.ceebee</groupId>
  8.     <artifactId>RNGame</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.     <name>RNGame</name>
  11.  
  12.     <properties>
  13.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14.         <junit.version>5.8.2</junit.version>
  15.     </properties>
  16.  
  17.     <dependencies>
  18.         <!-- https://mvnrepository.com/artifact/org.openjfx/javafx -->
  19.         <dependency>
  20.             <groupId>org.openjfx</groupId>
  21.             <artifactId>javafx</artifactId>
  22.             <version>21.0.3</version>
  23.             <type>pom</type>
  24.         </dependency>
  25.         <dependency>
  26.             <groupId>org.openjfx</groupId>
  27.             <artifactId>javafx-controls</artifactId>
  28.             <version>21.0.3</version>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>org.openjfx</groupId>
  32.             <artifactId>javafx-fxml</artifactId>
  33.             <version>21.0.3</version>
  34.         </dependency>
  35.         <dependency>
  36.             <groupId>org.openjfx</groupId>
  37.             <artifactId>javafx-media</artifactId>
  38.             <version>21.0.3</version>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>org.junit.jupiter</groupId>
  42.             <artifactId>junit-jupiter-api</artifactId>
  43.             <version>${junit.version}</version>
  44.             <scope>test</scope>
  45.         </dependency>
  46.         <dependency>
  47.             <groupId>org.junit.jupiter</groupId>
  48.             <artifactId>junit-jupiter-engine</artifactId>
  49.             <version>${junit.version}</version>
  50.             <scope>test</scope>
  51.         </dependency>
  52.         <dependency>
  53.                 <groupId>org.projectlombok</groupId>
  54.                 <artifactId>lombok</artifactId>
  55.                 <version>1.18.32</version>
  56.                 <scope>provided</scope>
  57.             </dependency>
  58.         <dependency>
  59.             <groupId>com.fasterxml.jackson.core</groupId>
  60.             <artifactId>jackson-databind</artifactId>
  61.             <version>2.17.0</version>
  62.         </dependency>
  63.     </dependencies>
  64.  
  65.     <build>
  66.         <plugins>
  67.             <plugin>
  68.                 <groupId>org.apache.maven.plugins</groupId>
  69.                 <artifactId>maven-compiler-plugin</artifactId>
  70.                 <version>3.10.1</version>
  71.                 <configuration>
  72.                     <source>20</source>
  73.                     <target>20</target>
  74.                     <annotationProcessorPaths>
  75.                         <path>
  76.                             <groupId>org.projectlombok</groupId>
  77.                             <artifactId>lombok</artifactId>
  78.                             <version>1.18.32</version>
  79.                         </path>
  80.                     </annotationProcessorPaths>
  81.                 </configuration>
  82.             </plugin>
  83.             <plugin>
  84.                 <groupId>org.openjfx</groupId>
  85.                 <artifactId>javafx-maven-plugin</artifactId>
  86.                 <version>0.0.8</version>
  87.                 <executions>
  88.                     <execution>
  89.                         <!-- Default configuration for running with: mvn clean javafx:run -->
  90.                         <id>default-cli</id>
  91.                         <configuration>
  92.                             <mainClass>com.ceebee.rngame/com.ceebee.rngame.RNGame</mainClass>
  93.                             <launcher>RNGame.sh</launcher>
  94.                             <jlinkZipName>RNGame</jlinkZipName>
  95.                             <jlinkImageName>RNGame</jlinkImageName>
  96.                             <stripDebug>true</stripDebug>
  97.                             <stripJavaDebugAttributes>true</stripJavaDebugAttributes>
  98.                             <noManPages>true</noManPages>
  99.                             <stripDebug>true</stripDebug>
  100.                             <noHeaderFiles>true</noHeaderFiles>
  101.                         </configuration>
  102.                     </execution>
  103.                 </executions>
  104.             </plugin>
  105.             <plugin>
  106.                 <artifactId>maven-resources-plugin</artifactId>
  107.                 <version>3.3.0</version>
  108.                 <executions>
  109.                     <execution>
  110.                         <id>copy-external-resources</id>
  111.                         <phase>generate-sources</phase>
  112.                         <goals>
  113.                             <goal>copy-resources</goal>
  114.                         </goals>
  115.                         <configuration>
  116.                             <outputDirectory>${basedir}/target/res</outputDirectory>
  117.                             <resources>
  118.                                 <resource>
  119.                                     <directory>res</directory>
  120.                                 </resource>
  121.                             </resources>
  122.                         </configuration>
  123.                     </execution>
  124.                 </executions>
  125.             </plugin>
  126.         </plugins>
  127.     </build>
  128. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement