Java Trojan: cross-platform monitoring software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
5.7 KiB

3 years ago
3 years ago
3 years ago
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>chat</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <javafx.version>16</javafx.version>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <maven.compiler.release>14</maven.compiler.release>
  13. <project.jarName>JavaChat</project.jarName>
  14. </properties>
  15. <dependencies>
  16. <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
  17. <dependency>
  18. <groupId>log4j</groupId>
  19. <artifactId>log4j</artifactId>
  20. <version>1.2.17</version>
  21. </dependency>
  22. <!-- Fix stupid StaticLoggerBinder error message-->
  23. <dependency>
  24. <groupId>org.slf4j</groupId>
  25. <artifactId>slf4j-simple</artifactId>
  26. <version>1.7.32</version>
  27. </dependency>
  28. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  29. <dependency>
  30. <groupId>com.squareup.okhttp3</groupId>
  31. <artifactId>okhttp</artifactId>
  32. <version>4.9.3</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>javax.json</groupId>
  36. <artifactId>javax.json-api</artifactId>
  37. <version>1.1.4</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.glassfish</groupId>
  41. <artifactId>javax.json</artifactId>
  42. <version>1.1.4</version>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-lang3</artifactId>
  48. <version>3.12.0</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>net.coobird</groupId>
  52. <artifactId>thumbnailator</artifactId>
  53. <version>[0.4, 0.5)</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.openjfx</groupId>
  57. <artifactId>javafx-controls</artifactId>
  58. <version>${javafx.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.openjfx</groupId>
  62. <artifactId>javafx-fxml</artifactId>
  63. <version>${javafx.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.openjfx</groupId>
  67. <artifactId>javafx-swing</artifactId>
  68. <version>15.0.1</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.openjfx</groupId>
  72. <artifactId>javafx-graphics</artifactId>
  73. <version>${javafx.version}</version>
  74. <classifier>win</classifier>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.openjfx</groupId>
  78. <artifactId>javafx-graphics</artifactId>
  79. <version>${javafx.version}</version>
  80. <classifier>linux</classifier>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.openjfx</groupId>
  84. <artifactId>javafx-graphics</artifactId>
  85. <version>${javafx.version}</version>
  86. <classifier>mac</classifier>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.zeroturnaround</groupId>
  90. <artifactId>zt-zip</artifactId>
  91. <version>1.14</version>
  92. <type>jar</type>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.formdev</groupId>
  96. <artifactId>flatlaf</artifactId>
  97. <version>2.0-rc1</version>
  98. </dependency>
  99. </dependencies>
  100. <build>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-compiler-plugin</artifactId>
  105. <version>3.8.1</version>
  106. <configuration>
  107. <release>${maven.compiler.release}</release>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.openjfx</groupId>
  112. <artifactId>javafx-maven-plugin</artifactId>
  113. <version>0.0.5</version>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-shade-plugin</artifactId>
  118. <version>2.4.3</version>
  119. <executions>
  120. <execution>
  121. <phase>package</phase>
  122. <goals>
  123. <goal>shade</goal>
  124. </goals>
  125. <configuration>
  126. <shadedArtifactAttached>true</shadedArtifactAttached>
  127. <shadedClassifierName>project-classifier</shadedClassifierName>
  128. <outputFile>shade\${file.name}.jar</outputFile>
  129. <transformers>
  130. <transformer implementation=
  131. "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  132. <!-- <mainClass>Launcher</mainClass>-->
  133. <mainClass>${my.mainClass}</mainClass>
  134. </transformer>
  135. </transformers>
  136. </configuration>
  137. </execution>
  138. </executions>
  139. </plugin>
  140. </plugins>
  141. </build>
  142. </project>