pom.xml 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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.7.10</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.example</groupId>
  12. <artifactId>SpringBoot</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>SpringBoot</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.mybatis.spring.boot</groupId>
  26. <artifactId>mybatis-spring-boot-starter</artifactId>
  27. <version>2.2.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.mysql</groupId>
  31. <artifactId>mysql-connector-j</artifactId>
  32. <scope>runtime</scope>
  33. </dependency>
  34. <!--热部署-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-devtools</artifactId>
  38. <scope>runtime</scope>
  39. <optional>true</optional>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. <optional>true</optional>
  45. </dependency>
  46. <!--MyBatis-plus-->
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>mybatis-plus-boot-starter</artifactId>
  50. <version>3.5.3</version>
  51. </dependency>
  52. <!--代码生成器-->
  53. <dependency>
  54. <groupId>com.baomidou</groupId>
  55. <artifactId>mybatis-plus-generator</artifactId>
  56. <version>3.5.3.1</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.velocity</groupId>
  60. <artifactId>velocity</artifactId>
  61. <version>1.7</version>
  62. </dependency>
  63. <!--swagger-->
  64. <dependency>
  65. <groupId>io.springfox</groupId>
  66. <artifactId>springfox-swagger2</artifactId>
  67. <version>2.7.0</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>io.springfox</groupId>
  71. <artifactId>springfox-swagger-ui</artifactId>
  72. <version>2.7.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-test</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.alibaba</groupId>
  81. <artifactId>fastjson</artifactId>
  82. <version>1.2.83</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-security</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.security</groupId>
  90. <artifactId>spring-security-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-starter-mail</artifactId>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-data-redis</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-validation</artifactId>
  104. </dependency>
  105. </dependencies>
  106. <build>
  107. <plugins>
  108. <plugin>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-maven-plugin</artifactId>
  111. <configuration>
  112. <excludes>
  113. <exclude>
  114. <groupId>org.projectlombok</groupId>
  115. <artifactId>lombok</artifactId>
  116. </exclude>
  117. </excludes>
  118. </configuration>
  119. </plugin>
  120. </plugins>
  121. </build>
  122. <repositories>
  123. <repository>
  124. <id>nexus-aliyun</id>
  125. <name>nexus-aliyun</name>
  126. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  127. <releases>
  128. <enabled>true</enabled>
  129. </releases>
  130. <snapshots>
  131. <enabled>false</enabled>
  132. </snapshots>
  133. </repository>
  134. <repository>
  135. <id>spring-milestones</id>
  136. <name>Spring Milestones</name>
  137. <url>https://repo.spring.io/milestone</url>
  138. <snapshots>
  139. <enabled>false</enabled>
  140. </snapshots>
  141. </repository>
  142. <repository>
  143. <id>spring-snapshots</id>
  144. <name>Spring Snapshots</name>
  145. <url>https://repo.spring.io/snapshot</url>
  146. <releases>
  147. <enabled>false</enabled>
  148. </releases>
  149. </repository>
  150. </repositories>
  151. <pluginRepositories>
  152. <pluginRepository>
  153. <id>public</id>
  154. <name>aliyun nexus</name>
  155. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  156. <releases>
  157. <enabled>true</enabled>
  158. </releases>
  159. <snapshots>
  160. <enabled>false</enabled>
  161. </snapshots>
  162. </pluginRepository>
  163. <pluginRepository>
  164. <id>spring-milestones</id>
  165. <name>Spring Milestones</name>
  166. <url>https://repo.spring.io/milestone</url>
  167. <snapshots>
  168. <enabled>false</enabled>
  169. </snapshots>
  170. </pluginRepository>
  171. <pluginRepository>
  172. <id>spring-snapshots</id>
  173. <name>Spring Snapshots</name>
  174. <url>https://repo.spring.io/snapshot</url>
  175. <releases>
  176. <enabled>false</enabled>
  177. </releases>
  178. </pluginRepository>
  179. </pluginRepositories>
  180. </project>