pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. <groupId>com.wdkl.udpserver</groupId>
  7. <artifactId>udpserver</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>udpserver</name>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <junit.version>5.10.0</junit.version>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.openjfx</groupId>
  17. <artifactId>javafx-base</artifactId>
  18. <version>17.0.12</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.openjfx</groupId>
  22. <artifactId>javafx-controls</artifactId>
  23. <version>17.0.12</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.openjfx</groupId>
  27. <artifactId>javafx-fxml</artifactId>
  28. <version>17.0.12</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.controlsfx</groupId>
  32. <artifactId>controlsfx</artifactId>
  33. <version>11.1.2</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.dlsc.formsfx</groupId>
  37. <artifactId>formsfx-core</artifactId>
  38. <version>11.6.0</version>
  39. <exclusions>
  40. <exclusion>
  41. <groupId>org.openjfx</groupId>
  42. <artifactId>*</artifactId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>net.synedra</groupId>
  48. <artifactId>validatorfx</artifactId>
  49. <version>0.4.0</version>
  50. <exclusions>
  51. <exclusion>
  52. <groupId>org.openjfx</groupId>
  53. <artifactId>*</artifactId>
  54. </exclusion>
  55. </exclusions>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.kordamp.bootstrapfx</groupId>
  59. <artifactId>bootstrapfx-core</artifactId>
  60. <version>0.4.0</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.junit.jupiter</groupId>
  64. <artifactId>junit-jupiter-api</artifactId>
  65. <version>${junit.version}</version>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.junit.jupiter</groupId>
  70. <artifactId>junit-jupiter-engine</artifactId>
  71. <version>${junit.version}</version>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>io.netty</groupId>
  76. <artifactId>netty-all</artifactId>
  77. <version>5.0.0.Alpha2</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba.fastjson2</groupId>
  81. <artifactId>fastjson2</artifactId>
  82. <version>2.0.52</version>
  83. </dependency>
  84. </dependencies>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <version>3.11.0</version>
  91. <configuration>
  92. <source>17</source>
  93. <target>17</target>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.openjfx</groupId>
  98. <artifactId>javafx-maven-plugin</artifactId>
  99. <version>0.0.8</version>
  100. <executions>
  101. <execution>
  102. <!-- Default configuration for running with: mvn clean javafx:run -->
  103. <id>default-cli</id>
  104. <configuration>
  105. <launcher>udpServer</launcher>
  106. <jlinkZipName>jlink</jlinkZipName>
  107. <jlinkImageName>jlink</jlinkImageName>
  108. <noManPages>true</noManPages>
  109. <stripDebug>true</stripDebug>
  110. <noHeaderFiles>true</noHeaderFiles>
  111. <mainClass>udpserver/com.wdkl.udpserver.UdpServerApplication</mainClass>
  112. <commandlineArgs>--add-modules io.netty.common,io.netty.transport,io.netty.buffer</commandlineArgs>
  113. </configuration>
  114. <goals>
  115. <goal>jlink</goal>
  116. </goals>
  117. </execution>
  118. </executions>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. </project>