pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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</groupId>
  27. <artifactId>common</artifactId>
  28. <version>1.0-SNAPSHOT</version>
  29. </dependency>
  30. <!--mysql-->
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. <version>8.0.16</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.projectlombok</groupId>
  38. <artifactId>lombok</artifactId>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <plugins>
  43. <!--mybatis.generator maven插件-->
  44. <plugin>
  45. <groupId>org.mybatis.generator</groupId>
  46. <artifactId>mybatis-generator-maven-plugin</artifactId>
  47. <version>1.3.7</version>
  48. <configuration>
  49. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  50. <overwrite>true</overwrite>
  51. </configuration>
  52. <dependencies>
  53. <dependency>
  54. <groupId>mysql</groupId>
  55. <artifactId>mysql-connector-java</artifactId>
  56. <version>8.0.16</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.itfsw</groupId>
  60. <artifactId>mybatis-generator-plugin</artifactId>
  61. <version>1.3.7</version>
  62. </dependency>
  63. </dependencies>
  64. </plugin>
  65. </plugins>
  66. </build>
  67. </project>