pom.xml 9.3 KB

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