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.

164 lines
5.8 KiB

3 years ago
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>com.github.sarxos</groupId>
  57. <artifactId>webcam-capture</artifactId>
  58. <version>0.3.12</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.openjfx</groupId>
  62. <artifactId>javafx-controls</artifactId>
  63. <version>${javafx.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.openjfx</groupId>
  67. <artifactId>javafx-fxml</artifactId>
  68. <version>${javafx.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.openjfx</groupId>
  72. <artifactId>javafx-swing</artifactId>
  73. <version>15.0.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.openjfx</groupId>
  77. <artifactId>javafx-graphics</artifactId>
  78. <version>${javafx.version}</version>
  79. <classifier>win</classifier>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.openjfx</groupId>
  83. <artifactId>javafx-graphics</artifactId>
  84. <version>${javafx.version}</version>
  85. <classifier>linux</classifier>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.openjfx</groupId>
  89. <artifactId>javafx-graphics</artifactId>
  90. <version>${javafx.version}</version>
  91. <classifier>mac</classifier>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.zeroturnaround</groupId>
  95. <artifactId>zt-zip</artifactId>
  96. <version>1.14</version>
  97. <type>jar</type>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.formdev</groupId>
  101. <artifactId>flatlaf</artifactId>
  102. <version>2.0-rc1</version>
  103. </dependency>
  104. </dependencies>
  105. <build>
  106. <plugins>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <version>3.8.1</version>
  111. <configuration>
  112. <release>${maven.compiler.release}</release>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.openjfx</groupId>
  117. <artifactId>javafx-maven-plugin</artifactId>
  118. <version>0.0.5</version>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-shade-plugin</artifactId>
  123. <version>2.4.3</version>
  124. <executions>
  125. <execution>
  126. <phase>package</phase>
  127. <goals>
  128. <goal>shade</goal>
  129. </goals>
  130. <configuration>
  131. <shadedArtifactAttached>true</shadedArtifactAttached>
  132. <shadedClassifierName>project-classifier</shadedClassifierName>
  133. <outputFile>shade\${file.name}.jar</outputFile>
  134. <transformers>
  135. <transformer implementation=
  136. "org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  137. <!-- <mainClass>Launcher</mainClass>-->
  138. <mainClass>${my.mainClass}</mainClass>
  139. </transformer>
  140. </transformers>
  141. </configuration>
  142. </execution>
  143. </executions>
  144. </plugin>
  145. </plugins>
  146. </build>
  147. </project>