pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  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.ym</groupId>
  30. <artifactId>ipos</artifactId>
  31. <version>1.2.0-SNAPSHOT</version>
  32. <name>ym-ipos</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. <xxl-job-core.version>2.2.0</xxl-job-core.version>
  48. <skipTests>true</skipTests>
  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-logging</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. <version>8.0.11</version>
  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.commons</groupId>
  147. <artifactId>commons-lang3</artifactId>
  148. <version>3.4</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. <dependency>
  156. <groupId>commons-logging</groupId>
  157. <artifactId>commons-logging</artifactId>
  158. <version>1.1.3</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>log4j</groupId>
  162. <artifactId>log4j</artifactId>
  163. <version>1.2.16</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>cn.hutool</groupId>
  167. <artifactId>hutool-core</artifactId>
  168. <version>5.5.7</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.binarywang</groupId>
  177. <artifactId>weixin-java-miniapp</artifactId>
  178. <version>4.3.0</version>
  179. </dependency>
  180. </dependencies>
  181. <dependencyManagement>
  182. <dependencies>
  183. <dependency>
  184. <groupId>org.springframework.cloud</groupId>
  185. <artifactId>spring-cloud-dependencies</artifactId>
  186. <version>${spring.cloud.version}</version>
  187. <type>pom</type>
  188. <scope>import</scope>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.springframework.boot</groupId>
  192. <artifactId>spring-boot-dependencies</artifactId>
  193. <version>${spring-boot.version}</version>
  194. <type>pom</type>
  195. <scope>import</scope>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.github.xiaoymin</groupId>
  199. <artifactId>knife4j-micro-spring-boot-starter</artifactId>
  200. <version>${knife4j.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.github.xiaoymin</groupId>
  204. <artifactId>knife4j-spring-boot-starter</artifactId>
  205. <version>${knife4j.version}</version>
  206. </dependency>
  207. </dependencies>
  208. </dependencyManagement>
  209. <profiles>
  210. <profile>
  211. <id>develop</id>
  212. <properties>
  213. <package.environment>develop</package.environment>
  214. </properties>
  215. <activation>
  216. <activeByDefault>true</activeByDefault>
  217. </activation>
  218. </profile>
  219. <profile>
  220. <id>uat</id>
  221. <properties>
  222. <package.environment>uat</package.environment>
  223. </properties>
  224. </profile>
  225. <profile>
  226. <id>production</id>
  227. <properties>
  228. <package.environment>production</package.environment>
  229. </properties>
  230. </profile>
  231. <profile>
  232. <id>zky</id>
  233. <properties>
  234. <package.environment>zky</package.environment>
  235. </properties>
  236. </profile>
  237. <profile>
  238. <id>pre</id>
  239. <properties>
  240. <package.environment>pre</package.environment>
  241. </properties>
  242. </profile>
  243. <profile>
  244. <id>rizhao</id>
  245. <properties>
  246. <package.environment>rizhao</package.environment>
  247. </properties>
  248. </profile>
  249. </profiles>
  250. <build>
  251. <resources>
  252. <resource>
  253. <directory>src/main/resources/${package.environment}</directory>
  254. <filtering>true</filtering>
  255. </resource>
  256. <resource>
  257. <directory>src/main/java</directory>
  258. <filtering>false</filtering>
  259. <includes>
  260. <include>**/xml/*.xml</include>
  261. </includes>
  262. </resource>
  263. <resource>
  264. <directory>src/main/resources</directory>
  265. </resource>
  266. </resources>
  267. <pluginManagement>
  268. <plugins>
  269. <plugin>
  270. <groupId>org.springframework.boot</groupId>
  271. <artifactId>spring-boot-maven-plugin</artifactId>
  272. <version>${spring.boot.version}</version>
  273. <executions>
  274. <execution>
  275. <goals>
  276. <goal>repackage</goal>
  277. </goals>
  278. </execution>
  279. </executions>
  280. </plugin>
  281. </plugins>
  282. </pluginManagement>
  283. <plugins>
  284. <plugin>
  285. <groupId>org.springframework.boot</groupId>
  286. <artifactId>spring-boot-maven-plugin</artifactId>
  287. <version>${spring-boot.version}</version>
  288. <configuration>
  289. <!--无此配置,devtools不会生效-->
  290. <fork>true</fork>
  291. </configuration>
  292. </plugin>
  293. <plugin>
  294. <groupId>org.apache.maven.plugins</groupId>
  295. <artifactId>maven-compiler-plugin</artifactId>
  296. <version>3.5.1</version>
  297. <configuration>
  298. <source>1.8</source>
  299. <target>1.8</target>
  300. <encoding>UTF-8</encoding>
  301. </configuration>
  302. </plugin>
  303. </plugins>
  304. </build>
  305. </project>