pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <repositories>
  6. <repository>
  7. <id>aliyun</id>
  8. <url>https://maven.aliyun.com/repository/central</url>
  9. <releases>
  10. <enabled>true</enabled>
  11. </releases>
  12. <snapshots>
  13. <enabled>true</enabled>
  14. </snapshots>
  15. </repository>
  16. </repositories>
  17. <pluginRepositories>
  18. <pluginRepository>
  19. <id>aliyun</id>
  20. <url>https://maven.aliyun.com/repository/central</url>
  21. <releases>
  22. <enabled>true</enabled>
  23. </releases>
  24. <snapshots>
  25. <enabled>true</enabled>
  26. </snapshots>
  27. </pluginRepository>
  28. </pluginRepositories>
  29. <groupId>com.poteviohealth.cgp</groupId>
  30. <artifactId>statistics</artifactId>
  31. <version>1.2.0-SNAPSHOT</version>
  32. <name>cgp-statistics</name>
  33. <description>统计服务</description>
  34. <properties>
  35. <java.version>1.8</java.version>
  36. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  37. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  38. <spring-boot.version>2.2.7.RELEASE</spring-boot.version>
  39. <spring.cloud.version>Hoxton.SR4</spring.cloud.version>
  40. <jwt.version>0.9.1</jwt.version>
  41. <mybatis.plus.version>3.3.2</mybatis.plus.version>
  42. <org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
  43. <swagger.version>2.9.2</swagger.version>
  44. <alibaba.fastjson>1.2.73</alibaba.fastjson>
  45. <alibaba.druid>1.1.18</alibaba.druid>
  46. <knife4j.version>3.0.2</knife4j.version>
  47. <skipTests>true</skipTests>
  48. <xxl-job-core.version>2.2.0</xxl-job-core.version>
  49. </properties>
  50. <dependencies>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-test</artifactId>
  58. <version>5.2.6.RELEASE</version>
  59. <scope>compile</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. <scope>test</scope>
  65. <exclusions>
  66. <exclusion>
  67. <groupId>org.junit.vintage</groupId>
  68. <artifactId>junit-vintage-engine</artifactId>
  69. </exclusion>
  70. </exclusions>
  71. </dependency>
  72. <!--mysql驱动[必须],注意8.0.15版本驱动配置和之前版本不一致-->
  73. <dependency>
  74. <groupId>mysql</groupId>
  75. <artifactId>mysql-connector-java</artifactId>
  76. <scope>runtime</scope>
  77. </dependency>
  78. <!--JSON处理框架[必需]-->
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. <version>${alibaba.fastjson}</version>
  83. </dependency>
  84. <!--连接资源池框架[必需]-->
  85. <dependency>
  86. <groupId>com.alibaba</groupId>
  87. <artifactId>druid-spring-boot-starter</artifactId>
  88. <version>${alibaba.druid}</version>
  89. </dependency>
  90. <!--Swagger2[必需]-->
  91. <!--<dependency>-->
  92. <!--<groupId>io.springfox</groupId>-->
  93. <!--<artifactId>springfox-swagger2</artifactId>-->
  94. <!--<version>${swagger.version}</version>-->
  95. <!--</dependency>-->
  96. <!--<dependency>-->
  97. <!--<groupId>io.springfox</groupId>-->
  98. <!--<artifactId>springfox-swagger-ui</artifactId>-->
  99. <!--<version>${swagger.version}</version>-->
  100. <!--</dependency>-->
  101. <dependency>
  102. <groupId>com.github.xiaoymin</groupId>
  103. <artifactId>knife4j-spring-boot-starter</artifactId>
  104. </dependency>
  105. <!--JWT-->
  106. <dependency>
  107. <groupId>io.jsonwebtoken</groupId>
  108. <artifactId>jjwt</artifactId>
  109. <version>${jwt.version}</version>
  110. </dependency>
  111. <!--服务发现客户端-->
  112. <dependency>
  113. <groupId>org.springframework.cloud</groupId>
  114. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  115. </dependency>
  116. <!--服务熔断降级组件-->
  117. <dependency>
  118. <groupId>org.springframework.cloud</groupId>
  119. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  120. </dependency>
  121. <!--Mybatis Plus依赖-->
  122. <dependency>
  123. <groupId>com.baomidou</groupId>
  124. <artifactId>mybatis-plus-boot-starter</artifactId>
  125. <version>${mybatis.plus.version}</version>
  126. </dependency>
  127. <!--Feign依赖-->
  128. <dependency>
  129. <groupId>org.springframework.cloud</groupId>
  130. <artifactId>spring-cloud-starter-openfeign</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.mapstruct</groupId>
  134. <artifactId>mapstruct</artifactId>
  135. <version>${org.mapstruct.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.mapstruct</groupId>
  139. <artifactId>mapstruct-processor</artifactId>
  140. <version>${org.mapstruct.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.shardingsphere</groupId>
  148. <artifactId>sharding-jdbc-core</artifactId>
  149. <version>4.0.1</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>com.poteviohealth.cgp</groupId>
  153. <artifactId>common</artifactId>
  154. <version>1.2.0-SNAPSHOT</version>
  155. </dependency>
  156. <!--Apache 通用文件处理框架[必需]-->
  157. <dependency>
  158. <groupId>commons-io</groupId>
  159. <artifactId>commons-io</artifactId>
  160. <version>2.7</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.poi</groupId>
  164. <artifactId>poi</artifactId>
  165. <version>3.17</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.poi</groupId>
  169. <artifactId>poi-ooxml</artifactId>
  170. <version>3.17</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.xuxueli</groupId>
  174. <artifactId>xxl-job-core</artifactId>
  175. <version>${xxl-job-core.version}</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.github.javen205</groupId>
  179. <artifactId>IJPay-WxPay</artifactId>
  180. <version>2.6.4</version>
  181. </dependency>
  182. <!-- 极光推送-->
  183. <dependency>
  184. <groupId>cn.jpush.api</groupId>
  185. <artifactId>jpush-client</artifactId>
  186. <version>3.4.7</version>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.github.kuaidi100-api</groupId>
  190. <artifactId>sdk</artifactId>
  191. <version>1.0.2</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>com.dameng</groupId>
  195. <artifactId>DmJdbcDriver18</artifactId>
  196. <version>8.1.2.141</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.aliyun.oss</groupId>
  200. <artifactId>aliyun-sdk-oss</artifactId>
  201. <version>3.10.2</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.twelvemonkeys.imageio</groupId>
  205. <artifactId>imageio-jpeg</artifactId>
  206. <version>3.8.1</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.twelvemonkeys.imageio</groupId>
  210. <artifactId>imageio-tiff</artifactId>
  211. <version>3.8.1</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.drewnoakes</groupId>
  215. <artifactId>metadata-extractor</artifactId>
  216. <version>2.15.0</version>
  217. </dependency>
  218. </dependencies>
  219. <dependencyManagement>
  220. <dependencies>
  221. <dependency>
  222. <groupId>org.springframework.cloud</groupId>
  223. <artifactId>spring-cloud-dependencies</artifactId>
  224. <version>${spring.cloud.version}</version>
  225. <type>pom</type>
  226. <scope>import</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.springframework.boot</groupId>
  230. <artifactId>spring-boot-dependencies</artifactId>
  231. <version>${spring-boot.version}</version>
  232. <type>pom</type>
  233. <scope>import</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>com.github.xiaoymin</groupId>
  237. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  238. <version>${knife4j.version}</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>com.github.xiaoymin</groupId>
  242. <artifactId>knife4j-spring-boot-starter</artifactId>
  243. <version>${knife4j.version}</version>
  244. </dependency>
  245. </dependencies>
  246. </dependencyManagement>
  247. <profiles>
  248. <profile>
  249. <id>develop</id>
  250. <properties>
  251. <package.environment>develop</package.environment>
  252. </properties>
  253. <activation>
  254. <activeByDefault>true</activeByDefault>
  255. </activation>
  256. </profile>
  257. <profile>
  258. <id>uat</id>
  259. <properties>
  260. <package.environment>uat</package.environment>
  261. </properties>
  262. </profile>
  263. <profile>
  264. <id>production</id>
  265. <properties>
  266. <package.environment>production</package.environment>
  267. </properties>
  268. </profile>
  269. <profile>
  270. <id>zky</id>
  271. <properties>
  272. <package.environment>zky</package.environment>
  273. </properties>
  274. </profile>
  275. <profile>
  276. <id>dm</id>
  277. <properties>
  278. <package.environment>dm</package.environment>
  279. </properties>
  280. </profile>
  281. <profile>
  282. <id>rizhao</id>
  283. <properties>
  284. <package.environment>rizhao</package.environment>
  285. </properties>
  286. </profile>
  287. <profile>
  288. <id>kyy</id>
  289. <properties>
  290. <package.environment>kyy</package.environment>
  291. </properties>
  292. </profile>
  293. <profile>
  294. <id>pre</id>
  295. <properties>
  296. <package.environment>pre</package.environment>
  297. </properties>
  298. </profile>
  299. </profiles>
  300. <build>
  301. <resources>
  302. <resource>
  303. <directory>src/main/resources/${package.environment}</directory>
  304. <filtering>true</filtering>
  305. </resource>
  306. <resource>
  307. <directory>src/main/java</directory>
  308. <filtering>false</filtering>
  309. <includes>
  310. <include>**/xml/*.xml</include>
  311. </includes>
  312. </resource>
  313. <resource>
  314. <directory>src/main/resources</directory>
  315. </resource>
  316. </resources>
  317. <pluginManagement>
  318. <plugins>
  319. <plugin>
  320. <groupId>org.springframework.boot</groupId>
  321. <artifactId>spring-boot-maven-plugin</artifactId>
  322. <version>${spring.boot.version}</version>
  323. <executions>
  324. <execution>
  325. <goals>
  326. <goal>repackage</goal>
  327. </goals>
  328. </execution>
  329. </executions>
  330. </plugin>
  331. </plugins>
  332. </pluginManagement>
  333. <plugins>
  334. <plugin>
  335. <groupId>org.springframework.boot</groupId>
  336. <artifactId>spring-boot-maven-plugin</artifactId>
  337. <version>${spring-boot.version}</version>
  338. <configuration>
  339. <!--无此配置,devtools不会生效-->
  340. <fork>true</fork>
  341. </configuration>
  342. </plugin>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-compiler-plugin</artifactId>
  346. <version>3.5.1</version>
  347. <configuration>
  348. <source>1.8</source>
  349. <target>1.8</target>
  350. <encoding>UTF-8</encoding>
  351. </configuration>
  352. </plugin>
  353. </plugins>
  354. </build>
  355. </project>