pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. <!-- 项目基本信息 -->
  7. <groupId>com.letus</groupId>
  8. <artifactId>phoenix-agent</artifactId>
  9. <version>1.1.1</version>
  10. <packaging>jar</packaging>
  11. <name>phoenix-agent</name>
  12. <description>监控代理端</description>
  13. <!-- 属性 -->
  14. <properties>
  15. <maven.deploy.skip>true</maven.deploy.skip>
  16. </properties>
  17. <!-- 依赖 -->
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.sparkjava</groupId>
  21. <artifactId>spark-core</artifactId>
  22. <version>2.9.4</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.slf4j</groupId>
  26. <artifactId>slf4j-simple</artifactId>
  27. <version>1.7.21</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <version>1.18.24</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. <!-- commons工具包依赖 -->
  36. <dependency>
  37. <groupId>org.apache.commons</groupId>
  38. <artifactId>commons-lang3</artifactId>
  39. <version>3.8.1</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>commons-collections</groupId>
  43. <artifactId>commons-collections</artifactId>
  44. <version>3.2.2</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>commons-io</groupId>
  48. <artifactId>commons-io</artifactId>
  49. <version>2.6</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>commons-net</groupId>
  53. <artifactId>commons-net</artifactId>
  54. <version>3.8.0</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>1.2.83</version>
  60. </dependency>
  61. <!-- Hutool工具包依赖 -->
  62. <dependency>
  63. <groupId>cn.hutool</groupId>
  64. <artifactId>hutool-all</artifactId>
  65. <version>5.6.3</version>
  66. </dependency>
  67. <!-- bouncy castle加解密依赖 -->
  68. <dependency>
  69. <groupId>org.bouncycastle</groupId>
  70. <artifactId>bcprov-jdk15on</artifactId>
  71. <version>1.69</version>
  72. </dependency>
  73. <!-- oshi依赖 -->
  74. <dependency>
  75. <groupId>com.github.oshi</groupId>
  76. <artifactId>oshi-core</artifactId>
  77. <version>6.2.0</version>
  78. </dependency>
  79. <!-- sigar依赖 -->
  80. <!-- http-client -->
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpclient</artifactId>
  84. <version>4.5.13</version>
  85. </dependency>
  86. <!-- java-websock客户端 -->
  87. <dependency>
  88. <groupId>io.socket</groupId>
  89. <artifactId>socket.io-client</artifactId>
  90. <version>1.0.1</version>
  91. </dependency>
  92. </dependencies>
  93. <!-- 构建 -->
  94. <build>
  95. <finalName>cqstt-phoenix-agent</finalName>
  96. <defaultGoal>package</defaultGoal>
  97. <plugins>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <version>2.3.7.RELEASE</version>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>repackage</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <!-- sonatype的staging插件 -->
  111. <plugin>
  112. <groupId>org.sonatype.plugins</groupId>
  113. <artifactId>nexus-staging-maven-plugin</artifactId>
  114. <extensions>true</extensions>
  115. <configuration>
  116. <serverId>ossrh</serverId>
  117. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  118. <!-- 忽略这个模块 -->
  119. <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
  120. </configuration>
  121. </plugin>
  122. <!-- docker插件 -->
  123. <plugin>
  124. <groupId>com.spotify</groupId>
  125. <artifactId>docker-maven-plugin</artifactId>
  126. </plugin>
  127. </plugins>
  128. </build>
  129. </project>