pom.xml 6.2 KB

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