pom.xml 13 KB

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