pom.xml 4.9 KB

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