pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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.snowchen</groupId>
  7. <artifactId>SNGL-FX17</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>SNGL-FX17</name>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <junit.version>5.9.2</junit.version>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.openjfx</groupId>
  17. <artifactId>javafx-controls</artifactId>
  18. <version>21-ea+17</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.openjfx</groupId>
  22. <artifactId>javafx-fxml</artifactId>
  23. <version>21-ea+17</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.junit.jupiter</groupId>
  27. <artifactId>junit-jupiter-api</artifactId>
  28. <version>${junit.version}</version>
  29. <scope>test</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.junit.jupiter</groupId>
  33. <artifactId>junit-jupiter-engine</artifactId>
  34. <version>${junit.version}</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>io.github.mkpaz</groupId>
  39. <artifactId>atlantafx-base</artifactId>
  40. <version>2.0.0</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.github.oshi</groupId>
  44. <artifactId>oshi-core</artifactId>
  45. <version>5.8.6</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>cn.hutool</groupId>
  49. <artifactId>hutool-all</artifactId>
  50. <version>5.6.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>dev.3-3</groupId>
  54. <artifactId>jmccc</artifactId>
  55. <version>3.1.4</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>dev.3-3</groupId>
  59. <artifactId>jmccc-microsoft-authenticator</artifactId>
  60. <version>3.1.4</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>dev.3-3</groupId>
  64. <artifactId>jmccc-mcdownloader</artifactId>
  65. <version>3.1.4</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>dev.3-3</groupId>
  69. <artifactId>jmccc-mojang-api</artifactId>
  70. <version>3.1.4</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>dev.3-3</groupId>
  74. <artifactId>jmccc-mcdownloader</artifactId>
  75. <version>3.1.4</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.google.code.gson</groupId>
  79. <artifactId>gson</artifactId>
  80. <version>2.10.1</version> <!-- 使用最新版本 -->
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-compiler-plugin</artifactId>
  88. <version>3.11.0</version>
  89. <configuration>
  90. <source>17</source>
  91. <target>17</target>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.openjfx</groupId>
  96. <artifactId>javafx-maven-plugin</artifactId>
  97. <version>0.0.8</version>
  98. <executions>
  99. <execution>
  100. <!-- Default configuration for running with: mvn clean javafx:run -->
  101. <id>default-cli</id>
  102. <configuration>
  103. <mainClass>com.snowchen.snglfx17/com.snowchen.snglfx17.HelloApplication</mainClass>
  104. <launcher>app</launcher>
  105. <jlinkZipName>app</jlinkZipName>
  106. <jlinkImageName>app</jlinkImageName>
  107. <noManPages>true</noManPages>
  108. <stripDebug>true</stripDebug>
  109. <noHeaderFiles>true</noHeaderFiles>
  110. </configuration>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>