pom.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-compiler-plugin</artifactId>
  57. <configuration>
  58. <source>8</source>
  59. <target>8</target>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. </project>