pom.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. </dependencies>
  80. <build>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. <configuration>
  86. <excludes>
  87. <exclude>
  88. <groupId>org.projectlombok</groupId>
  89. <artifactId>lombok</artifactId>
  90. </exclude>
  91. </excludes>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. <repositories>
  97. <repository>
  98. <id>nexus-aliyun</id>
  99. <name>nexus-aliyun</name>
  100. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  101. <releases>
  102. <enabled>true</enabled>
  103. </releases>
  104. <snapshots>
  105. <enabled>false</enabled>
  106. </snapshots>
  107. </repository>
  108. <repository>
  109. <id>spring-milestones</id>
  110. <name>Spring Milestones</name>
  111. <url>https://repo.spring.io/milestone</url>
  112. <snapshots>
  113. <enabled>false</enabled>
  114. </snapshots>
  115. </repository>
  116. <repository>
  117. <id>spring-snapshots</id>
  118. <name>Spring Snapshots</name>
  119. <url>https://repo.spring.io/snapshot</url>
  120. <releases>
  121. <enabled>false</enabled>
  122. </releases>
  123. </repository>
  124. </repositories>
  125. <pluginRepositories>
  126. <pluginRepository>
  127. <id>public</id>
  128. <name>aliyun nexus</name>
  129. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  130. <releases>
  131. <enabled>true</enabled>
  132. </releases>
  133. <snapshots>
  134. <enabled>false</enabled>
  135. </snapshots>
  136. </pluginRepository>
  137. <pluginRepository>
  138. <id>spring-milestones</id>
  139. <name>Spring Milestones</name>
  140. <url>https://repo.spring.io/milestone</url>
  141. <snapshots>
  142. <enabled>false</enabled>
  143. </snapshots>
  144. </pluginRepository>
  145. <pluginRepository>
  146. <id>spring-snapshots</id>
  147. <name>Spring Snapshots</name>
  148. <url>https://repo.spring.io/snapshot</url>
  149. <releases>
  150. <enabled>false</enabled>
  151. </releases>
  152. </pluginRepository>
  153. </pluginRepositories>
  154. </project>