pom.xml 8.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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.6.7</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.njyunzhi</groupId>
  12. <artifactId>pet_identity</artifactId>
  13. <version>0.0.1</version>
  14. <name>pet_identity</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <log4j.version>2.17.0</log4j.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-configuration-processor</artifactId>
  28. <optional>true</optional>
  29. </dependency>
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. <scope>runtime</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <optional>true</optional>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-test</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <!--mybatis-plus start-->
  46. <dependency>
  47. <groupId>com.baomidou</groupId>
  48. <artifactId>mybatis-plus-boot-starter</artifactId>
  49. <version>3.1.1</version>
  50. </dependency>
  51. <!--mybatis-plus end-->
  52. <!--fastjson start-->
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>fastjson</artifactId>
  56. <version>1.2.56</version>
  57. </dependency>
  58. <!--fastjson end-->
  59. <!--oss start-->
  60. <dependency>
  61. <groupId>com.aliyun.oss</groupId>
  62. <artifactId>aliyun-sdk-oss</artifactId>
  63. <version>2.8.3</version>
  64. </dependency>
  65. <!--oss end-->
  66. <dependency>
  67. <groupId>com.aliyun</groupId>
  68. <artifactId>aliyun-java-sdk-core</artifactId>
  69. <version>[4.4.9,5.0.0)</version>
  70. </dependency>
  71. <!--excel start-->
  72. <dependency>
  73. <groupId>com.alibaba</groupId>
  74. <artifactId>easyexcel</artifactId>
  75. <version>3.0.5</version>
  76. </dependency>
  77. <!--excel end-->
  78. <!--weixin-miniapp start-->
  79. <dependency>
  80. <groupId>com.github.binarywang</groupId>
  81. <artifactId>weixin-java-miniapp</artifactId>
  82. <version>4.3.0</version>
  83. </dependency>
  84. <!--weixin-miniapp start-->
  85. <!--weixin-pay start-->
  86. <dependency>
  87. <groupId>org.jodd</groupId>
  88. <artifactId>jodd-util</artifactId>
  89. <version>6.1.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.github.binarywang</groupId>
  93. <artifactId>weixin-java-pay</artifactId>
  94. <version>4.3.0</version>
  95. </dependency>
  96. <!--weixin-pay start-->
  97. <!--swagger start-->
  98. <dependency>
  99. <groupId>io.springfox</groupId>
  100. <artifactId>springfox-boot-starter</artifactId>
  101. <version>3.0.0</version>
  102. </dependency>
  103. <!--swagger end-->
  104. <!-- Sa-Token 权限认证, 在线文档:http://sa-token.dev33.cn/ -->
  105. <dependency>
  106. <groupId>cn.dev33</groupId>
  107. <artifactId>sa-token-spring-boot-starter</artifactId>
  108. <version>1.29.0</version>
  109. </dependency>
  110. <!-- Sa-Token 整合 jwt -->
  111. <dependency>
  112. <groupId>cn.dev33</groupId>
  113. <artifactId>sa-token-jwt</artifactId>
  114. <version>1.29.0</version>
  115. </dependency>
  116. </dependencies>
  117. <profiles>
  118. <profile>
  119. <id>dev</id>
  120. <properties>
  121. <profileActive>dev</profileActive>
  122. </properties>
  123. <activation>
  124. <activeByDefault>true</activeByDefault>
  125. </activation>
  126. <build>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-maven-plugin</artifactId>
  131. <configuration>
  132. <includeSystemScope>true</includeSystemScope>
  133. <excludes>
  134. <exclude>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-configuration-processor</artifactId>
  137. </exclude>
  138. </excludes>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.apache.maven.plugins</groupId>
  143. <artifactId>maven-resources-plugin</artifactId>
  144. <configuration>
  145. <encoding>UTF-8</encoding>
  146. <nonFilteredFileExtensions>
  147. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  148. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  149. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  150. </nonFilteredFileExtensions>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. <resources>
  155. <resource>
  156. <directory>src/main/resources</directory>
  157. <filtering>true</filtering>
  158. <includes>
  159. <include>**/*.xml</include>
  160. <include>**/*.p12</include>
  161. <include>**/*.pem</include>
  162. <!-- <include>*.xlsx</include>-->
  163. <include>application.yml</include>
  164. <include>application-${profileActive}.yml</include>
  165. </includes>
  166. </resource>
  167. </resources>
  168. </build>
  169. </profile>
  170. <profile>
  171. <id>prod</id>
  172. <properties>
  173. <profileActive>prod</profileActive>
  174. </properties>
  175. <activation>
  176. <activeByDefault>false</activeByDefault>
  177. </activation>
  178. <build>
  179. <plugins>
  180. <plugin>
  181. <groupId>org.springframework.boot</groupId>
  182. <artifactId>spring-boot-maven-plugin</artifactId>
  183. <configuration>
  184. <includeSystemScope>true</includeSystemScope>
  185. </configuration>
  186. </plugin>
  187. <!-- 跳过测试 -->
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-surefire-plugin</artifactId>
  191. <configuration>
  192. <skipTests>true</skipTests>
  193. <testFailureIgnore>true</testFailureIgnore>
  194. </configuration>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-resources-plugin</artifactId>
  199. <configuration>
  200. <encoding>UTF-8</encoding>
  201. <nonFilteredFileExtensions>
  202. <nonFilteredFileExtension>pem</nonFilteredFileExtension>
  203. <nonFilteredFileExtension>pfx</nonFilteredFileExtension>
  204. <nonFilteredFileExtension>p12</nonFilteredFileExtension>
  205. </nonFilteredFileExtensions>
  206. </configuration>
  207. </plugin>
  208. </plugins>
  209. <resources>
  210. <resource>
  211. <directory>src/main/resources</directory>
  212. <filtering>true</filtering>
  213. <includes>
  214. <include>**/*.p12</include>
  215. <include>**/*.pem</include>
  216. <include>**/*.xml</include>
  217. <!-- <include>*.xlsx</include>-->
  218. <include>application.yml</include>
  219. <include>application-${profileActive}.yml</include>
  220. </includes>
  221. </resource>
  222. </resources>
  223. </build>
  224. </profile>
  225. </profiles>
  226. <!-- <build>-->
  227. <!-- <plugins>-->
  228. <!-- <plugin>-->
  229. <!-- <groupId>org.springframework.boot</groupId>-->
  230. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  231. <!-- <configuration>-->
  232. <!-- <excludes>-->
  233. <!-- <exclude>-->
  234. <!-- <groupId>org.projectlombok</groupId>-->
  235. <!-- <artifactId>lombok</artifactId>-->
  236. <!-- </exclude>-->
  237. <!-- </excludes>-->
  238. <!-- </configuration>-->
  239. <!-- </plugin>-->
  240. <!-- </plugins>-->
  241. <!-- </build>-->
  242. <!-- <repositories>-->
  243. <!-- <repository>-->
  244. <!-- <id>spring-milestones</id>-->
  245. <!-- <name>Spring Milestones</name>-->
  246. <!-- <url>https://repo.spring.io/milestone</url>-->
  247. <!-- <snapshots>-->
  248. <!-- <enabled>false</enabled>-->
  249. <!-- </snapshots>-->
  250. <!-- </repository>-->
  251. <!-- <repository>-->
  252. <!-- <id>spring-snapshots</id>-->
  253. <!-- <name>Spring Snapshots</name>-->
  254. <!-- <url>https://repo.spring.io/snapshot</url>-->
  255. <!-- <releases>-->
  256. <!-- <enabled>false</enabled>-->
  257. <!-- </releases>-->
  258. <!-- </repository>-->
  259. <!-- </repositories>-->
  260. <!-- <pluginRepositories>-->
  261. <!-- <pluginRepository>-->
  262. <!-- <id>spring-milestones</id>-->
  263. <!-- <name>Spring Milestones</name>-->
  264. <!-- <url>https://repo.spring.io/milestone</url>-->
  265. <!-- <snapshots>-->
  266. <!-- <enabled>false</enabled>-->
  267. <!-- </snapshots>-->
  268. <!-- </pluginRepository>-->
  269. <!-- <pluginRepository>-->
  270. <!-- <id>spring-snapshots</id>-->
  271. <!-- <name>Spring Snapshots</name>-->
  272. <!-- <url>https://repo.spring.io/snapshot</url>-->
  273. <!-- <releases>-->
  274. <!-- <enabled>false</enabled>-->
  275. <!-- </releases>-->
  276. <!-- </pluginRepository>-->
  277. <!-- </pluginRepositories>-->
  278. </project>