pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <tomcat.version>9.0.54</tomcat.version>
  50. </properties>
  51. <dependencies>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-web</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-devtools</artifactId>
  64. <scope>runtime</scope>
  65. <optional>true</optional>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-aop</artifactId>
  70. </dependency>
  71. <!--slf4j 方便日志注解-->
  72. <dependency>
  73. <groupId>org.slf4j</groupId>
  74. <artifactId>slf4j-simple</artifactId>
  75. <version>1.7.25</version>
  76. <scope>compile</scope>
  77. </dependency>
  78. <!-- lombok -->
  79. <dependency>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. <version>1.18.4</version>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  85. <dependency>
  86. <groupId>com.google.code.gson</groupId>
  87. <artifactId>gson</artifactId>
  88. <version>2.8.5</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.apache.commons</groupId>
  92. <artifactId>commons-lang3</artifactId>
  93. <version>3.8</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-io</groupId>
  97. <artifactId>commons-io</artifactId>
  98. <version>2.7</version>
  99. </dependency>
  100. <!--httpClient-->
  101. <dependency>
  102. <groupId>org.apache.httpcomponents</groupId>
  103. <artifactId>httpclient</artifactId>
  104. <version>4.5.13</version>
  105. </dependency>
  106. <!--email-->
  107. <dependency>
  108. <groupId>javax.mail</groupId>
  109. <artifactId>javax.mail-api</artifactId>
  110. <version>1.6.2</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.sun.mail</groupId>
  114. <artifactId>javax.mail</artifactId>
  115. <version>1.6.2</version>
  116. </dependency>
  117. <!--mybatis-->
  118. <dependency>
  119. <groupId>org.mybatis.spring.boot</groupId>
  120. <artifactId>mybatis-spring-boot-starter</artifactId>
  121. <version>1.3.2</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>druid-spring-boot-starter</artifactId>
  126. <version>1.1.10</version>
  127. </dependency>
  128. <!--mysql-->
  129. <dependency>
  130. <groupId>mysql</groupId>
  131. <artifactId>mysql-connector-java</artifactId>
  132. <version>8.0.27</version>
  133. </dependency>
  134. </dependencies>
  135. </project>