pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <parent>
  6. <artifactId>springboot-parent</artifactId>
  7. <groupId>com.alvin.springboot</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>springboot-dao</artifactId>
  12. <dependencies>
  13. <!--mybatis-->
  14. <dependency>
  15. <groupId>org.mybatis.spring.boot</groupId>
  16. <artifactId>mybatis-spring-boot-starter</artifactId>
  17. <version>1.3.2</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.alibaba</groupId>
  21. <artifactId>druid-spring-boot-starter</artifactId>
  22. <version>1.1.10</version>
  23. </dependency>
  24. <!--common-->
  25. <dependency>
  26. <groupId>com.alvin.springboot</groupId>
  27. <artifactId>springboot-common</artifactId>
  28. </dependency>
  29. <!--mysql-->
  30. <dependency>
  31. <groupId>mysql</groupId>
  32. <artifactId>mysql-connector-java</artifactId>
  33. <version>8.0.16</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <!--mybatis.generator maven插件-->
  43. <plugin>
  44. <groupId>org.mybatis.generator</groupId>
  45. <artifactId>mybatis-generator-maven-plugin</artifactId>
  46. <version>1.3.7</version>
  47. <configuration>
  48. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  49. <overwrite>true</overwrite>
  50. </configuration>
  51. <dependencies>
  52. <dependency>
  53. <groupId>mysql</groupId>
  54. <artifactId>mysql-connector-java</artifactId>
  55. <version>8.0.16</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.itfsw</groupId>
  59. <artifactId>mybatis-generator-plugin</artifactId>
  60. <version>1.3.7</version>
  61. </dependency>
  62. </dependencies>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. </project>