pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.0.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>com.gct.edge</groupId>
  13. <artifactId>edge_module_actuator</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>edge_module_actuator</name>
  16. <description>边缘端模块监控</description>
  17. <dependencies>
  18. <!--ssh 依赖-->
  19. <dependency>
  20. <groupId>net.i2p.crypto</groupId>
  21. <artifactId>eddsa</artifactId>
  22. <version>0.3.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.apache.sshd</groupId>
  26. <artifactId>sshd-core</artifactId>
  27. <version>2.5.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.apache.sshd</groupId>
  31. <artifactId>sshd-scp</artifactId>
  32. <version>2.5.1</version>
  33. </dependency>
  34. <dependency>
  35. <artifactId>edge-base</artifactId>
  36. <groupId>com.gct.common.edge</groupId>
  37. <version>3.2-SNAPSHOT</version>
  38. </dependency>
  39. <!--common核心包依赖-->
  40. <dependency>
  41. <groupId>com.gct.common.security</groupId>
  42. <artifactId>common-security</artifactId>
  43. </dependency>
  44. <!--common格式化功图-->
  45. <dependency>
  46. <groupId>com.gct.common.util</groupId>
  47. <artifactId>common-util</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.gct.common.core</groupId>
  51. <artifactId>common-core</artifactId>
  52. </dependency>
  53. <!--nacos 注册中心依赖-->
  54. <dependency>
  55. <groupId>com.alibaba.cloud</groupId>
  56. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba.cloud</groupId>
  60. <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
  61. </dependency>
  62. <!-- <dependency>
  63. <groupId>com.alibaba.csp</groupId>
  64. <artifactId>sentinel-datasource-nacos</artifactId>
  65. </dependency>-->
  66. <dependency>
  67. <groupId>com.alibaba.cloud</groupId>
  68. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>com.baomidou</groupId>
  72. <artifactId>mybatis-plus-boot-starter</artifactId>
  73. <version>3.3.1</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.velocity</groupId>
  77. <artifactId>velocity-engine-core</artifactId>
  78. <version>2.2</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.spring4all</groupId>
  82. <artifactId>swagger-spring-boot-starter</artifactId>
  83. <version>1.9.1.RELEASE</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.baomidou</groupId>
  87. <artifactId>mybatis-plus-generator</artifactId>
  88. <version>3.3.1.tmp</version>
  89. </dependency>
  90. <!--web 依赖-->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-web</artifactId>
  94. </dependency>
  95. <!-- spring security -->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-security</artifactId>
  99. </dependency>
  100. <!--RocketMQ starter-->
  101. <dependency>
  102. <groupId>org.apache.rocketmq</groupId>
  103. <artifactId>rocketmq-spring-boot-starter</artifactId>
  104. <version>2.2.0</version>
  105. </dependency>
  106. <!--lombok-->
  107. <dependency>
  108. <groupId>org.projectlombok</groupId>
  109. <artifactId>lombok</artifactId>
  110. <optional>true</optional>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.alibaba</groupId>
  114. <artifactId>easyexcel</artifactId>
  115. <version>2.2.8</version>
  116. </dependency>
  117. <!-- 与数据库操作相关依赖-->
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-starter-jdbc</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.postgresql</groupId>
  124. <artifactId>postgresql</artifactId>
  125. </dependency>
  126. <!--文件上传相关-->
  127. <dependency>
  128. <groupId>commons-io</groupId>
  129. <artifactId>commons-io</artifactId>
  130. </dependency>
  131. <!--junit测试-->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-test</artifactId>
  135. <scope>test</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-starter-validation</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.apache.thrift</groupId>
  143. <artifactId>libthrift</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>junit</groupId>
  147. <artifactId>junit</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework</groupId>
  151. <artifactId>spring-test</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-test</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.junit.jupiter</groupId>
  159. <artifactId>junit-jupiter-api</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.commons</groupId>
  163. <artifactId>commons-pool2</artifactId>
  164. </dependency>
  165. <!-- <dependency>-->
  166. <!-- <groupId>org.springframework.boot</groupId>-->
  167. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  168. <!-- <optional>true</optional>-->
  169. <!-- </dependency>-->
  170. <dependency>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-configuration-processor</artifactId>
  173. <optional>true</optional>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework.cloud</groupId>
  177. <artifactId>spring-cloud-starter-openfeign</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-configuration-processor</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-quartz</artifactId>
  186. </dependency>
  187. </dependencies>
  188. <dependencyManagement>
  189. <dependencies>
  190. <!-- Spring Cloud Hoxton 统一版本 -->
  191. <dependency>
  192. <groupId>org.springframework.cloud</groupId>
  193. <artifactId>spring-cloud-dependencies</artifactId>
  194. <version>Hoxton.SR3</version>
  195. <type>pom</type>
  196. <scope>import</scope>
  197. </dependency>
  198. <!-- Spring Cloud Alibaba 统一版本-->
  199. <dependency>
  200. <groupId>com.alibaba.cloud</groupId>
  201. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  202. <version>2.2.1.RELEASE</version>
  203. <type>pom</type>
  204. <scope>import</scope>
  205. </dependency>
  206. <!-- 地航发布的组件 统一版本 -->
  207. <dependency>
  208. <groupId>com.gct.common.core</groupId>
  209. <artifactId>common-core</artifactId>
  210. <version>${com-gct-common-core.version}</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.gct.common.security</groupId>
  214. <artifactId>common-security</artifactId>
  215. <version>${com-gct-common-security.version}</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.gct.common.util</groupId>
  219. <artifactId>common-util</artifactId>
  220. <version>${com-gct-common-util.version}</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>commons-io</groupId>
  224. <artifactId>commons-io</artifactId>
  225. <version>${commons-io.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.apache.thrift</groupId>
  229. <artifactId>libthrift</artifactId>
  230. <version>${org.apache.thrift.version}</version>
  231. </dependency>
  232. <!--lombok-->
  233. <dependency>
  234. <groupId>org.projectlombok</groupId>
  235. <artifactId>lombok</artifactId>
  236. <version>${lombok.version}</version>
  237. </dependency>
  238. </dependencies>
  239. </dependencyManagement>
  240. <properties>
  241. <java.version>1.8</java.version>
  242. <jdk.version>8</jdk.version>
  243. <com-gct-common-core.version>2.0-SNAPSHOT</com-gct-common-core.version>
  244. <com-gct-common-security.version>2.0-SNAPSHOT</com-gct-common-security.version>
  245. <com-gct-common-util.version>3.0-SNAPSHOT</com-gct-common-util.version>
  246. <commons-io.version>2.8.0</commons-io.version>
  247. <org.apache.thrift.version>0.13.0</org.apache.thrift.version>
  248. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  249. <lombok.version>1.16.18</lombok.version>
  250. <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
  251. </properties>
  252. <build>
  253. <resources>
  254. <resource>
  255. <directory>src/main/java</directory>
  256. <excludes>
  257. <exclude>**/*.java</exclude>
  258. </excludes>
  259. </resource>
  260. <resource>
  261. <directory>src/main/resources</directory>
  262. <includes>
  263. <include>**/*.*</include>
  264. </includes>
  265. </resource>
  266. </resources>
  267. <plugins>
  268. <plugin>
  269. <groupId>org.springframework.boot</groupId>
  270. <artifactId>spring-boot-maven-plugin</artifactId>
  271. <configuration>
  272. <fork>true</fork>
  273. </configuration>
  274. </plugin>
  275. <plugin>
  276. <groupId>org.apache.maven.plugins</groupId>
  277. <artifactId>maven-compiler-plugin</artifactId>
  278. <version>${maven-compiler-plugin.version}</version>
  279. <configuration>
  280. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  281. 允许值为:
  282. none - no annotation processing is performed.
  283. only - only annotation processing is done, no compilation.
  284. 设置为only complie 或者build一下就可以运行annotation processor了
  285. 平常走默认值即可-->
  286. <!--<proc>only</proc>-->
  287. <source>${jdk.version}</source>
  288. <target>${jdk.version}</target>
  289. <encoding>utf-8</encoding>
  290. </configuration>
  291. </plugin>
  292. <plugin>
  293. <groupId>org.projectlombok</groupId>
  294. <artifactId>lombok-maven-plugin</artifactId>
  295. <version>${lombok-maven-plugin.version}</version>
  296. </plugin>
  297. <!-- 打包过程忽略Junit测试 -->
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-surefire-plugin</artifactId>
  301. <configuration>
  302. <skip>true</skip>
  303. </configuration>
  304. </plugin>
  305. </plugins>
  306. </build>
  307. </project>