pom.xml 13 KB

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