pom.xml 5.9 KB

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