pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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>org.example</groupId>
  7. <artifactId>gen-code-local</artifactId>
  8. <version>1.0.0</version>
  9. <dependencies>
  10. <!--jdbc驱动包-->
  11. <dependency>
  12. <groupId>mysql</groupId>
  13. <artifactId>mysql-connector-java</artifactId>
  14. <version>5.1.35</version>
  15. </dependency>
  16. <!--mybatis-generator核心包-->
  17. <dependency>
  18. <groupId>org.mybatis.generator</groupId>
  19. <artifactId>mybatis-generator-core</artifactId>
  20. <version>1.3.2</version>
  21. </dependency>
  22. <!--vm模版生产器-->
  23. <dependency>
  24. <groupId>org.apache.velocity</groupId>
  25. <artifactId>velocity-engine-core</artifactId>
  26. <version>2.2</version>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.apache.velocity</groupId>
  30. <artifactId>velocity-tools</artifactId>
  31. <version>2.0</version>
  32. </dependency>
  33. <!--mybatis-->
  34. <dependency>
  35. <groupId>org.mybatis</groupId>
  36. <artifactId>mybatis</artifactId>
  37. <version>3.4.6</version>
  38. </dependency>
  39. <!-- SpringBoot Web容器 -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. <version>2.4.0</version>
  44. </dependency>
  45. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  46. <dependency>
  47. <groupId>io.swagger</groupId>
  48. <artifactId>swagger-annotations</artifactId>
  49. <version>1.5.21</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <version>1.16.10</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <configuration>
  63. <source>8</source>
  64. <target>8</target>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>