pom.xml 13 KB

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