pom.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.6</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>cn.hanghui.outapi.platform</groupId>
  12. <artifactId>hanghui-outapi-platform</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>hanghui-outapi-platform</name>
  15. <description>hanghui-outapi-platform</description>
  16. <packaging>jar</packaging>
  17. <profiles>
  18. <profile>
  19. <id>dev</id>
  20. <activation>
  21. <activeByDefault>true</activeByDefault>
  22. </activation>
  23. <properties>
  24. <profile.active>dev</profile.active>
  25. </properties>
  26. </profile>
  27. <profile>
  28. <id>prod</id>
  29. <properties>
  30. <profile.active>prod</profile.active>
  31. </properties>
  32. </profile>
  33. </profiles>
  34. <properties>
  35. <maven.test.skip>true</maven.test.skip>
  36. <java.version>1.8</java.version>
  37. <mybatis-starter.version>2.1.3</mybatis-starter.version>
  38. <druid-starter.version>1.2.8</druid-starter.version>
  39. <mybatis-plus.version>3.5.2</mybatis-plus.version>
  40. <fastjson.version>1.2.74</fastjson.version>
  41. <jjwt.version>0.9.1</jjwt.version>
  42. <commons-codec.version>1.11</commons-codec.version>
  43. <hutool.version>5.7.7</hutool.version>
  44. <swagger-version>3.0.0</swagger-version>
  45. </properties>
  46. <dependencies>
  47. <!--mybatis-->
  48. <dependency>
  49. <groupId>org.mybatis.spring.boot</groupId>
  50. <artifactId>mybatis-spring-boot-starter</artifactId>
  51. <version>${mybatis-starter.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>druid-spring-boot-starter</artifactId>
  56. <version>${druid-starter.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.baomidou</groupId>
  60. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  61. <version>3.3.2</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.baomidou</groupId>
  65. <artifactId>mybatis-plus-boot-starter</artifactId>
  66. <version>${mybatis-plus.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.baomidou</groupId>
  70. <artifactId>mybatis-plus-extension</artifactId>
  71. <version>${mybatis-plus.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.baomidou</groupId>
  75. <artifactId>mybatis-plus-generator</artifactId>
  76. <version>${mybatis-plus.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>mysql</groupId>
  80. <artifactId>mysql-connector-java</artifactId>
  81. </dependency>
  82. <!--lombok-->
  83. <dependency>
  84. <groupId>org.projectlombok</groupId>
  85. <artifactId>lombok</artifactId>
  86. </dependency>
  87. <!--redis-->
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-data-redis</artifactId>
  91. </dependency>
  92. <!--springboot-->
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-web</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-test</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.boot</groupId>
  104. <artifactId>spring-boot-starter-validation</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-starter-aop</artifactId>
  109. </dependency>
  110. <!--spring-security-->
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-security</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>io.jsonwebtoken</groupId>
  117. <artifactId>jjwt</artifactId>
  118. <version>${jjwt.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>commons-codec</groupId>
  122. <artifactId>commons-codec</artifactId>
  123. <version>${commons-codec.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>cn.hutool</groupId>
  127. <artifactId>hutool-all</artifactId>
  128. <version>${hutool.version}</version>
  129. </dependency>
  130. <!--fastjson-->
  131. <dependency>
  132. <groupId>com.alibaba</groupId>
  133. <artifactId>fastjson</artifactId>
  134. <version>${fastjson.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.bouncycastle</groupId>
  138. <artifactId>bcprov-jdk15to18</artifactId>
  139. <version>1.70</version>
  140. </dependency>
  141. <!--支付宝sdk通用版-->
  142. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  143. <dependency>
  144. <groupId>com.alipay.sdk</groupId>
  145. <artifactId>alipay-sdk-java</artifactId>
  146. <version>4.39.1.ALL</version>
  147. </dependency>
  148. <!--swagger-->
  149. <dependency>
  150. <groupId>com.github.xiaoymin</groupId>
  151. <artifactId>knife4j-spring-boot-starter</artifactId>
  152. <version>3.0.2</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>com.google.zxing</groupId>
  156. <artifactId>core</artifactId>
  157. <version>3.4.1</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>com.google.zxing</groupId>
  161. <artifactId>javase</artifactId>
  162. <version>3.4.1</version>
  163. </dependency>
  164. <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
  165. <dependency>
  166. <groupId>com.alibaba</groupId>
  167. <artifactId>easyexcel</artifactId>
  168. <version>4.0.2</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>anicert.encrypt</groupId>
  172. <artifactId>anicert-encrypt</artifactId>
  173. <version>1.0.4</version>
  174. <scope>system</scope>
  175. <systemPath>${project.basedir}/libs/anicert-encrypt-1.0.4.jar</systemPath>
  176. </dependency>
  177. <dependency>
  178. <groupId>anicert.encrypt.bc</groupId>
  179. <artifactId>anicert-encrypt-bc</artifactId>
  180. <version>1.0.4</version>
  181. <scope>system</scope>
  182. <systemPath>${project.basedir}/libs/anicert-encrypt-bc-1.0.4.jar</systemPath>
  183. </dependency>
  184. </dependencies>
  185. <build>
  186. <resources>
  187. <resource>
  188. <directory>${basedir}/src/main/webapp</directory>
  189. <targetPath>META-INF/resources</targetPath>
  190. <includes>
  191. <include>**/**</include>
  192. </includes>
  193. </resource>
  194. <resource>
  195. <directory>src/main/resources</directory>
  196. <includes>
  197. <include>**/*.properties</include>
  198. <include>**/*.xml</include>
  199. <include>**/*.yml</include>
  200. <include>**/*.sql</include>
  201. </includes>
  202. <filtering>true</filtering>
  203. </resource>
  204. <resource>
  205. <directory>src/main/java</directory>
  206. <includes>
  207. <include>**/*.properties</include>
  208. <include>**/*.xml</include>
  209. </includes>
  210. </resource>
  211. </resources>
  212. <plugins>
  213. <plugin>
  214. <groupId>org.springframework.boot</groupId>
  215. <artifactId>spring-boot-maven-plugin</artifactId>
  216. <version>2.3.3.RELEASE</version>
  217. <configuration>
  218. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  219. <includeSystemScope>true</includeSystemScope><!-- 包含本地jar包 -->
  220. </configuration>
  221. <executions>
  222. <execution>
  223. <goals>
  224. <goal>repackage</goal>
  225. </goals>
  226. </execution>
  227. </executions>
  228. </plugin>
  229. </plugins>
  230. <finalName>${project.artifactId}</finalName>
  231. </build>
  232. <repositories>
  233. <repository>
  234. <id>public</id>
  235. <name>aliyun nexus</name>
  236. <url>https://maven.aliyun.com/repository/public/</url>
  237. <releases>
  238. <enabled>true</enabled>
  239. </releases>
  240. </repository>
  241. </repositories>
  242. <pluginRepositories>
  243. <pluginRepository>
  244. <id>public</id>
  245. <name>aliyun nexus</name>
  246. <url>https://maven.aliyun.com/repository/public/</url>
  247. <releases>
  248. <enabled>true</enabled>
  249. </releases>
  250. <snapshots>
  251. <enabled>false</enabled>
  252. </snapshots>
  253. </pluginRepository>
  254. </pluginRepositories>
  255. </project>