pom.xml 11 KB

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