pom.xml 7.0 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-databind</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.httpcomponents</groupId>
  120. <artifactId>httpcore</artifactId>
  121. <version>4.4.6</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.httpcomponents</groupId>
  125. <artifactId>httpclient</artifactId>
  126. <version>4.5.5</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.commons</groupId>
  130. <artifactId>commons-lang3</artifactId>
  131. <version>3.11</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>junit</groupId>
  135. <artifactId>junit</artifactId>
  136. <scope>test</scope>
  137. </dependency>
  138. </dependencies>
  139. <build>
  140. <plugins>
  141. <plugin>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-maven-plugin</artifactId>
  144. </plugin>
  145. <plugin>
  146. <!--Mybatis-generator插件,用于自动生成Mapper和POJO-->
  147. <groupId>org.mybatis.generator</groupId>
  148. <artifactId>mybatis-generator-maven-plugin</artifactId>
  149. <version>1.3.7</version>
  150. <configuration>
  151. <!--配置文件的位置-->
  152. <configurationFile>src/main/resources/generator/generatorConfig.xml</configurationFile>
  153. <verbose>true</verbose>
  154. <overwrite>true</overwrite>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.apache.maven.plugins</groupId>
  159. <artifactId>maven-surefire-plugin</artifactId>
  160. <version>2.22.2</version>
  161. <configuration>
  162. <skipTests>true</skipTests>
  163. </configuration>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. <repositories>
  168. <repository>
  169. <id>public</id>
  170. <name>aliyun nexus</name>
  171. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  172. <releases>
  173. <enabled>true</enabled>
  174. </releases>
  175. </repository>
  176. </repositories>
  177. <pluginRepositories>
  178. <pluginRepository>
  179. <id>public</id>
  180. <name>aliyun nexus</name>
  181. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  182. <releases>
  183. <enabled>true</enabled>
  184. </releases>
  185. <snapshots>
  186. <enabled>false</enabled>
  187. </snapshots>
  188. </pluginRepository>
  189. </pluginRepositories>
  190. </project>