pom.xml 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. <!-- spring security 安全认证 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-security</artifactId>
  25. </dependency>
  26. <!-- redis 缓存操作 -->
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-redis</artifactId>
  30. </dependency>
  31. <!-- WxJava公众号 -->
  32. <dependency>
  33. <groupId>com.github.binarywang</groupId>
  34. <artifactId>weixin-java-mp</artifactId>
  35. <version>3.3.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.github.binarywang</groupId>
  39. <artifactId>weixin-java-common</artifactId>
  40. <version>3.3.0</version>
  41. </dependency>
  42. <!-- BouncyCastle是一个开源的加解密解决方案,主页在http://www.bouncycastle.org/-->
  43. <dependency>
  44. <groupId>org.bouncycastle</groupId>
  45. <artifactId>bcprov-jdk15on</artifactId>
  46. <version>1.56</version>
  47. </dependency>
  48. <!--lombok-->
  49. <dependency>
  50. <groupId>org.projectlombok</groupId>
  51. <artifactId>lombok</artifactId>
  52. <optional>true</optional>
  53. </dependency>
  54. <!--net sf包 json 依赖-->
  55. <dependency>
  56. <groupId>net.sf.json-lib</groupId>
  57. <artifactId>json-lib</artifactId>
  58. <version>2.4</version>
  59. <classifier>jdk15</classifier>
  60. </dependency>
  61. <!-- 极光推送依赖 -->
  62. <dependency>
  63. <groupId>cn.jpush.api</groupId>
  64. <artifactId>jpush-client</artifactId>
  65. <version>3.3.10</version>
  66. </dependency>
  67. <!-- Spring Boot Reids 依赖 -->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-data-redis</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-web</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.mybatis.spring.boot</groupId>
  78. <artifactId>mybatis-spring-boot-starter</artifactId>
  79. <version>2.1.4</version>
  80. </dependency>
  81. <!-- Mysql驱动包 -->
  82. <dependency>
  83. <groupId>mysql</groupId>
  84. <artifactId>mysql-connector-java</artifactId>
  85. <version>8.0.22</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-starter-tomcat</artifactId>
  90. <scope>provided</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-test</artifactId>
  95. <scope>test</scope>
  96. </dependency>
  97. <!-- Gson json 格式化 -->
  98. <dependency>
  99. <groupId>com.google.code.gson</groupId>
  100. <artifactId>gson</artifactId>
  101. <version>2.8.5</version>
  102. </dependency>
  103. <!--阿里数据库连接池 -->
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>druid-spring-boot-starter</artifactId>
  107. <version>1.2.1</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>fastjson</artifactId>
  112. <version>1.2.54</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>com.fasterxml.jackson.core</groupId>
  116. <artifactId>jackson-annotations</artifactId>
  117. <version>2.10.4</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.httpcomponents</groupId>
  121. <artifactId>httpcore</artifactId>
  122. <version>4.4.6</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.apache.httpcomponents</groupId>
  126. <artifactId>httpclient</artifactId>
  127. <version>4.5.5</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>org.apache.commons</groupId>
  131. <artifactId>commons-lang3</artifactId>
  132. <version>3.11</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>junit</groupId>
  136. <artifactId>junit</artifactId>
  137. <scope>test</scope>
  138. </dependency>
  139. </dependencies>
  140. <build>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.springframework.boot</groupId>
  144. <artifactId>spring-boot-maven-plugin</artifactId>
  145. </plugin>
  146. <plugin>
  147. <!--Mybatis-generator插件,用于自动生成Mapper和POJO-->
  148. <groupId>org.mybatis.generator</groupId>
  149. <artifactId>mybatis-generator-maven-plugin</artifactId>
  150. <version>1.3.7</version>
  151. <configuration>
  152. <!--配置文件的位置-->
  153. <configurationFile>src/main/resources/generator/generatorConfig.xml</configurationFile>
  154. <verbose>true</verbose>
  155. <overwrite>true</overwrite>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <version>2.22.2</version>
  162. <configuration>
  163. <skipTests>true</skipTests>
  164. </configuration>
  165. </plugin>
  166. </plugins>
  167. </build>
  168. <repositories>
  169. <repository>
  170. <id>public</id>
  171. <name>aliyun nexus</name>
  172. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  173. <releases>
  174. <enabled>true</enabled>
  175. </releases>
  176. </repository>
  177. </repositories>
  178. <pluginRepositories>
  179. <pluginRepository>
  180. <id>public</id>
  181. <name>aliyun nexus</name>
  182. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  183. <releases>
  184. <enabled>true</enabled>
  185. </releases>
  186. <snapshots>
  187. <enabled>false</enabled>
  188. </snapshots>
  189. </pluginRepository>
  190. </pluginRepositories>
  191. </project>