pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>boot</groupId>
  7. <artifactId>java</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.3.4.RELEASE</version>
  13. <relativePath />
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.mybatis.spring.boot</groupId>
  22. <artifactId>mybatis-spring-boot-starter</artifactId>
  23. <version>2.3.1</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-devtools</artifactId>
  28. <scope>runtime</scope>
  29. <optional>true</optional>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-configuration-processor</artifactId>
  34. <optional>true</optional>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. <optional>true</optional>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.mybatis.spring.boot</groupId>
  48. <artifactId>mybatis-spring-boot-starter-test</artifactId>
  49. <version>2.3.1</version>
  50. <scope>test</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <version>8.0.28</version>
  56. </dependency>
  57. <dependency>
  58. <groupId></groupId>
  59. <artifactId></artifactId>
  60. </dependency>
  61. <!-- 分页插件-->
  62. <!-- <dependency>-->
  63. <!-- <groupId>com.github.pagehelper</groupId>-->
  64. <!-- <artifactId>pagehelper-spring-boot-starter</artifactId>-->
  65. <!-- <version>1.3.0</version>-->
  66. <!-- </dependency>-->
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <!-- 具体插件,逆向工程的操作是以构建过程中插件形式出现的 -->
  71. <plugin>
  72. <groupId>org.mybatis.generator</groupId>
  73. <artifactId>mybatis-generator-maven-plugin</artifactId>
  74. <version>1.3.0</version>
  75. <!-- 插件的依赖 -->
  76. <dependencies>
  77. <!-- 逆向工程的核心依赖 -->
  78. <dependency>
  79. <groupId>org.mybatis.generator</groupId>
  80. <artifactId>mybatis-generator-core</artifactId>
  81. <version>1.3.2</version>
  82. </dependency>
  83. <!-- 数据库连接池 -->
  84. <dependency>
  85. <groupId>com.mchange</groupId>
  86. <artifactId>c3p0</artifactId>
  87. <version>0.9.2</version>
  88. </dependency>
  89. <!-- MySQL驱动 -->
  90. <dependency>
  91. <groupId>mysql</groupId>
  92. <artifactId>mysql-connector-java</artifactId>
  93. <version>8.0.28</version>
  94. </dependency>
  95. </dependencies>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. <configuration>
  101. <excludes>
  102. <exclude>
  103. <groupId>org.projectlombok</groupId>
  104. <artifactId>lombok</artifactId>
  105. </exclude>
  106. </excludes>
  107. </configuration>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-surefire-plugin</artifactId>
  112. <configuration><skip>true</skip></configuration>
  113. <version>2.22.2</version>
  114. </plugin>
  115. </plugins>
  116. </build>
  117. </project>