pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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-main</artifactId>
  12. <build>
  13. <plugins>
  14. <!--maven项目打包-->
  15. <plugin>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-maven-plugin</artifactId>
  18. <version>2.4.1</version>
  19. <configuration>
  20. <fork>true</fork>
  21. <layout>ZIP</layout>
  22. </configuration>
  23. </plugin>
  24. <!--mybatis.generator maven插件-->
  25. <plugin>
  26. <groupId>org.mybatis.generator</groupId>
  27. <artifactId>mybatis-generator-maven-plugin</artifactId>
  28. <version>1.3.7</version>
  29. <configuration>
  30. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  31. <overwrite>true</overwrite>
  32. </configuration>
  33. <dependencies>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <version>8.0.28</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.itfsw</groupId>
  41. <artifactId>mybatis-generator-plugin</artifactId>
  42. <version>1.3.7</version>
  43. </dependency>
  44. </dependencies>
  45. </plugin>
  46. </plugins>
  47. </build>
  48. <properties>
  49. <jackson.version>2.11.0</jackson.version>
  50. <tomcat.version>9.0.54</tomcat.version>
  51. </properties>
  52. <dependencies>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-web</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-test</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-devtools</artifactId>
  65. <scope>runtime</scope>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-aop</artifactId>
  71. </dependency>
  72. <!-- lombok -->
  73. <dependency>
  74. <groupId>org.projectlombok</groupId>
  75. <artifactId>lombok</artifactId>
  76. <version>1.18.22</version>
  77. </dependency>
  78. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  79. <dependency>
  80. <groupId>com.google.code.gson</groupId>
  81. <artifactId>gson</artifactId>
  82. <version>2.9.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-lang3</artifactId>
  87. <version>3.12.0</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-io</groupId>
  91. <artifactId>commons-io</artifactId>
  92. <version>2.11.0</version>
  93. </dependency>
  94. <!--httpClient-->
  95. <dependency>
  96. <groupId>org.apache.httpcomponents</groupId>
  97. <artifactId>httpclient</artifactId>
  98. <version>4.5.13</version>
  99. </dependency>
  100. <!--email-->
  101. <dependency>
  102. <groupId>javax.mail</groupId>
  103. <artifactId>javax.mail-api</artifactId>
  104. <version>1.6.2</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.sun.mail</groupId>
  108. <artifactId>javax.mail</artifactId>
  109. <version>1.6.2</version>
  110. </dependency>
  111. <!--mybatis-->
  112. <dependency>
  113. <groupId>org.mybatis.spring.boot</groupId>
  114. <artifactId>mybatis-spring-boot-starter</artifactId>
  115. <version>2.2.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>druid-spring-boot-starter</artifactId>
  120. <version>1.2.8</version>
  121. </dependency>
  122. <!--mysql-->
  123. <dependency>
  124. <groupId>mysql</groupId>
  125. <artifactId>mysql-connector-java</artifactId>
  126. <version>8.0.28</version>
  127. </dependency>
  128. </dependencies>
  129. </project>