pom.xml 9.0 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.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.palatform</groupId>
  12. <artifactId>yijia</artifactId>
  13. <version>1.0.1-SNAPSHOT</version>
  14. <packaging>war</packaging>
  15. <name>YijiaRestful</name>
  16. <description>YijiaRestful project for Spring Boot</description>
  17. <properties>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <dependencies>
  21. <!--swagger图形化接口-->
  22. <dependency>
  23. <groupId>io.springfox</groupId>
  24. <artifactId>springfox-swagger2</artifactId>
  25. <version>2.9.2</version>
  26. <!--忽略原版本的swagger-annotations和swagger-models,添加1.5.21版本的-->
  27. <exclusions>
  28. <exclusion>
  29. <groupId>io.swagger</groupId>
  30. <artifactId>swagger-annotations</artifactId>
  31. </exclusion>
  32. <exclusion>
  33. <groupId>io.swagger</groupId>
  34. <artifactId>swagger-models</artifactId>
  35. </exclusion>
  36. </exclusions>
  37. </dependency>
  38. <!--解决进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  39. <dependency>
  40. <groupId>io.swagger</groupId>
  41. <artifactId>swagger-annotations</artifactId>
  42. <version>1.5.21</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.swagger</groupId>
  46. <artifactId>swagger-models</artifactId>
  47. <version>1.5.21</version>
  48. </dependency>
  49. <!--swagger 可视化界面UI-->
  50. <dependency>
  51. <groupId>io.springfox</groupId>
  52. <artifactId>springfox-swagger-ui</artifactId>
  53. <version>2.9.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.fasterxml.jackson.core</groupId>
  57. <artifactId>jackson-annotations</artifactId>
  58. <version>2.9.0</version>
  59. </dependency>
  60. <!-- spring security 安全认证 -->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-security</artifactId>
  64. </dependency>
  65. <!-- redis 缓存操作 -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-data-redis</artifactId>
  69. </dependency>
  70. <!-- WxJava公众号 -->
  71. <dependency>
  72. <groupId>com.github.binarywang</groupId>
  73. <artifactId>weixin-java-mp</artifactId>
  74. <version>3.3.0</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.github.binarywang</groupId>
  78. <artifactId>weixin-java-common</artifactId>
  79. <version>3.3.0</version>
  80. </dependency>
  81. <!-- BouncyCastle是一个开源的加解密解决方案,主页在http://www.bouncycastle.org/-->
  82. <dependency>
  83. <groupId>org.bouncycastle</groupId>
  84. <artifactId>bcprov-jdk15on</artifactId>
  85. <version>1.56</version>
  86. </dependency>
  87. <!--lombok-->
  88. <dependency>
  89. <groupId>org.projectlombok</groupId>
  90. <artifactId>lombok</artifactId>
  91. <optional>true</optional>
  92. </dependency>
  93. <!--net sf包 json 依赖-->
  94. <dependency>
  95. <groupId>net.sf.json-lib</groupId>
  96. <artifactId>json-lib</artifactId>
  97. <version>2.4</version>
  98. <classifier>jdk15</classifier>
  99. </dependency>
  100. <!-- 极光推送依赖 -->
  101. <dependency>
  102. <groupId>cn.jpush.api</groupId>
  103. <artifactId>jpush-client</artifactId>
  104. <version>3.3.10</version>
  105. </dependency>
  106. <!-- Spring Boot Reids 依赖 -->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-data-redis</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-web</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.mybatis.spring.boot</groupId>
  117. <artifactId>mybatis-spring-boot-starter</artifactId>
  118. <version>2.1.4</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.github.pagehelper</groupId>
  122. <artifactId>pagehelper-spring-boot-starter</artifactId>
  123. <version>1.2.10</version>
  124. </dependency>
  125. <!-- Mysql驱动包 -->
  126. <dependency>
  127. <groupId>mysql</groupId>
  128. <artifactId>mysql-connector-java</artifactId>
  129. <version>8.0.22</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-starter-tomcat</artifactId>
  134. <scope>provided</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.springframework.boot</groupId>
  138. <artifactId>spring-boot-starter-test</artifactId>
  139. <scope>test</scope>
  140. </dependency>
  141. <!-- Gson json 格式化 -->
  142. <dependency>
  143. <groupId>com.google.code.gson</groupId>
  144. <artifactId>gson</artifactId>
  145. <version>2.8.5</version>
  146. </dependency>
  147. <!--阿里数据库连接池 -->
  148. <dependency>
  149. <groupId>com.alibaba</groupId>
  150. <artifactId>druid-spring-boot-starter</artifactId>
  151. <version>1.2.1</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.alibaba</groupId>
  155. <artifactId>fastjson</artifactId>
  156. <version>1.2.54</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>com.alipay.sdk</groupId>
  160. <artifactId>alipay-sdk-java</artifactId>
  161. <version>3.3.4.ALL</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>com.fasterxml.jackson.core</groupId>
  165. <artifactId>jackson-databind</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.httpcomponents</groupId>
  169. <artifactId>httpcore</artifactId>
  170. <version>4.4.6</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.apache.httpcomponents</groupId>
  174. <artifactId>httpclient</artifactId>
  175. <version>4.5.5</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.apache.commons</groupId>
  179. <artifactId>commons-lang3</artifactId>
  180. <version>3.11</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>junit</groupId>
  184. <artifactId>junit</artifactId>
  185. <scope>test</scope>
  186. </dependency>
  187. </dependencies>
  188. <build>
  189. <plugins>
  190. <plugin>
  191. <groupId>org.springframework.boot</groupId>
  192. <artifactId>spring-boot-maven-plugin</artifactId>
  193. </plugin>
  194. <plugin>
  195. <!--Mybatis-generator插件,用于自动生成Mapper和POJO-->
  196. <groupId>org.mybatis.generator</groupId>
  197. <artifactId>mybatis-generator-maven-plugin</artifactId>
  198. <version>1.3.7</version>
  199. <configuration>
  200. <!--配置文件的位置-->
  201. <configurationFile>src/main/resources/generator/generatorConfig.xml</configurationFile>
  202. <verbose>true</verbose>
  203. <overwrite>true</overwrite>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-surefire-plugin</artifactId>
  209. <version>2.22.2</version>
  210. <configuration>
  211. <skipTests>true</skipTests>
  212. </configuration>
  213. </plugin>
  214. </plugins>
  215. </build>
  216. <repositories>
  217. <repository>
  218. <id>public</id>
  219. <name>aliyun nexus</name>
  220. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  221. <releases>
  222. <enabled>true</enabled>
  223. </releases>
  224. </repository>
  225. </repositories>
  226. <pluginRepositories>
  227. <pluginRepository>
  228. <id>public</id>
  229. <name>aliyun nexus</name>
  230. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  231. <releases>
  232. <enabled>true</enabled>
  233. </releases>
  234. <snapshots>
  235. <enabled>false</enabled>
  236. </snapshots>
  237. </pluginRepository>
  238. </pluginRepositories>
  239. </project>