pom.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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.10</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. </dependencies>
  165. <build>
  166. <resources>
  167. <resource>
  168. <directory>${basedir}/src/main/webapp</directory>
  169. <targetPath>META-INF/resources</targetPath>
  170. <includes>
  171. <include>**/**</include>
  172. </includes>
  173. </resource>
  174. <resource>
  175. <directory>src/main/resources</directory>
  176. <includes>
  177. <include>**/*.properties</include>
  178. <include>**/*.xml</include>
  179. <include>**/*.yml</include>
  180. <include>**/*.sql</include>
  181. </includes>
  182. <filtering>true</filtering>
  183. </resource>
  184. <resource>
  185. <directory>src/main/java</directory>
  186. <includes>
  187. <include>**/*.properties</include>
  188. <include>**/*.xml</include>
  189. </includes>
  190. </resource>
  191. </resources>
  192. <plugins>
  193. <plugin>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-maven-plugin</artifactId>
  196. <version>2.3.3.RELEASE</version>
  197. <configuration>
  198. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  199. <includeSystemScope>true</includeSystemScope><!-- 包含本地jar包 -->
  200. </configuration>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>repackage</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. </plugin>
  209. </plugins>
  210. <finalName>${project.artifactId}</finalName>
  211. </build>
  212. <repositories>
  213. <repository>
  214. <id>public</id>
  215. <name>aliyun nexus</name>
  216. <url>https://maven.aliyun.com/repository/public/</url>
  217. <releases>
  218. <enabled>true</enabled>
  219. </releases>
  220. </repository>
  221. </repositories>
  222. <pluginRepositories>
  223. <pluginRepository>
  224. <id>public</id>
  225. <name>aliyun nexus</name>
  226. <url>https://maven.aliyun.com/repository/public/</url>
  227. <releases>
  228. <enabled>true</enabled>
  229. </releases>
  230. <snapshots>
  231. <enabled>false</enabled>
  232. </snapshots>
  233. </pluginRepository>
  234. </pluginRepositories>
  235. </project>