pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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.0-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. <scope>provided</scope>
  112. </dependency>
  113. <!-- 与数据库操作相关依赖 -->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-jdbc</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.postgresql</groupId>
  120. <artifactId>postgresql</artifactId>
  121. </dependency>
  122. <!--文件上传相关-->
  123. <dependency>
  124. <groupId>commons-io</groupId>
  125. <artifactId>commons-io</artifactId>
  126. </dependency>
  127. <!--junit测试-->
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-test</artifactId>
  131. <scope>test</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-validation</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.thrift</groupId>
  139. <artifactId>libthrift</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>junit</groupId>
  143. <artifactId>junit</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-test</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-test</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.junit.jupiter</groupId>
  155. <artifactId>junit-jupiter-api</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.commons</groupId>
  159. <artifactId>commons-pool2</artifactId>
  160. </dependency>
  161. <!-- <dependency>-->
  162. <!-- <groupId>org.springframework.boot</groupId>-->
  163. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  164. <!-- <optional>true</optional>-->
  165. <!-- </dependency>-->
  166. <dependency>
  167. <groupId>org.springframework.boot</groupId>
  168. <artifactId>spring-boot-configuration-processor</artifactId>
  169. <optional>true</optional>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework.cloud</groupId>
  173. <artifactId>spring-cloud-starter-openfeign</artifactId>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework.boot</groupId>
  177. <artifactId>spring-boot-configuration-processor</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-starter-quartz</artifactId>
  182. </dependency>
  183. </dependencies>
  184. <dependencyManagement>
  185. <dependencies>
  186. <!-- Spring Cloud Hoxton 统一版本 -->
  187. <dependency>
  188. <groupId>org.springframework.cloud</groupId>
  189. <artifactId>spring-cloud-dependencies</artifactId>
  190. <version>Hoxton.SR3</version>
  191. <type>pom</type>
  192. <scope>import</scope>
  193. </dependency>
  194. <!-- Spring Cloud Alibaba 统一版本-->
  195. <dependency>
  196. <groupId>com.alibaba.cloud</groupId>
  197. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  198. <version>2.2.1.RELEASE</version>
  199. <type>pom</type>
  200. <scope>import</scope>
  201. </dependency>
  202. <!-- 地航发布的组件 统一版本 -->
  203. <dependency>
  204. <groupId>com.gct.common.core</groupId>
  205. <artifactId>common-core</artifactId>
  206. <version>${com-gct-common-core.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.gct.common.security</groupId>
  210. <artifactId>common-security</artifactId>
  211. <version>${com-gct-common-security.version}</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.gct.common.util</groupId>
  215. <artifactId>common-util</artifactId>
  216. <version>${com-gct-common-util.version}</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>commons-io</groupId>
  220. <artifactId>commons-io</artifactId>
  221. <version>${commons-io.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.apache.thrift</groupId>
  225. <artifactId>libthrift</artifactId>
  226. <version>${org.apache.thrift.version}</version>
  227. </dependency>
  228. <!--lombok-->
  229. <dependency>
  230. <groupId>org.projectlombok</groupId>
  231. <artifactId>lombok</artifactId>
  232. <version>${lombok.version}</version>
  233. </dependency>
  234. </dependencies>
  235. </dependencyManagement>
  236. <properties>
  237. <java.version>1.8</java.version>
  238. <jdk.version>8</jdk.version>
  239. <com-gct-common-core.version>2.0-SNAPSHOT</com-gct-common-core.version>
  240. <com-gct-common-security.version>2.0-SNAPSHOT</com-gct-common-security.version>
  241. <com-gct-common-util.version>2.0-SNAPSHOT</com-gct-common-util.version>
  242. <commons-io.version>2.8.0</commons-io.version>
  243. <org.apache.thrift.version>0.13.0</org.apache.thrift.version>
  244. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  245. <lombok.version>1.16.18</lombok.version>
  246. <lombok-maven-plugin.version>1.16.6.1</lombok-maven-plugin.version>
  247. </properties>
  248. <build>
  249. <resources>
  250. <resource>
  251. <directory>src/main/java</directory>
  252. <excludes>
  253. <exclude>**/*.java</exclude>
  254. </excludes>
  255. </resource>
  256. <resource>
  257. <directory>src/main/resources</directory>
  258. <includes>
  259. <include>**/*.*</include>
  260. </includes>
  261. </resource>
  262. </resources>
  263. <plugins>
  264. <plugin>
  265. <groupId>org.springframework.boot</groupId>
  266. <artifactId>spring-boot-maven-plugin</artifactId>
  267. <configuration>
  268. <fork>true</fork>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.apache.maven.plugins</groupId>
  273. <artifactId>maven-compiler-plugin</artifactId>
  274. <version>${maven-compiler-plugin.version}</version>
  275. <configuration>
  276. <!-- 设置是否执行注释处理。 仅适用于JDK1.6如果没有设置,编译和注释处理都同时执行。
  277. 允许值为:
  278. none - no annotation processing is performed.
  279. only - only annotation processing is done, no compilation.
  280. 设置为only complie 或者build一下就可以运行annotation processor了
  281. 平常走默认值即可-->
  282. <!--<proc>only</proc>-->
  283. <source>${jdk.version}</source>
  284. <target>${jdk.version}</target>
  285. <encoding>utf-8</encoding>
  286. </configuration>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.projectlombok</groupId>
  290. <artifactId>lombok-maven-plugin</artifactId>
  291. <version>${lombok-maven-plugin.version}</version>
  292. </plugin>
  293. <!-- 打包过程忽略Junit测试 -->
  294. <plugin>
  295. <groupId>org.apache.maven.plugins</groupId>
  296. <artifactId>maven-surefire-plugin</artifactId>
  297. <configuration>
  298. <skip>true</skip>
  299. </configuration>
  300. </plugin>
  301. </plugins>
  302. </build>
  303. </project>