pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. <!-- lombok -->
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>1.18.4</version>
  76. </dependency>
  77. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  78. <dependency>
  79. <groupId>com.google.code.gson</groupId>
  80. <artifactId>gson</artifactId>
  81. <version>2.8.5</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.commons</groupId>
  85. <artifactId>commons-lang3</artifactId>
  86. <version>3.8</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.7</version>
  92. </dependency>
  93. <!--httpClient-->
  94. <dependency>
  95. <groupId>org.apache.httpcomponents</groupId>
  96. <artifactId>httpclient</artifactId>
  97. <version>4.5.13</version>
  98. </dependency>
  99. <!--email-->
  100. <dependency>
  101. <groupId>javax.mail</groupId>
  102. <artifactId>javax.mail-api</artifactId>
  103. <version>1.6.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.sun.mail</groupId>
  107. <artifactId>javax.mail</artifactId>
  108. <version>1.6.2</version>
  109. </dependency>
  110. <!--mybatis-->
  111. <dependency>
  112. <groupId>org.mybatis.spring.boot</groupId>
  113. <artifactId>mybatis-spring-boot-starter</artifactId>
  114. <version>1.3.2</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.alibaba</groupId>
  118. <artifactId>druid-spring-boot-starter</artifactId>
  119. <version>1.1.10</version>
  120. </dependency>
  121. <!--mysql-->
  122. <dependency>
  123. <groupId>mysql</groupId>
  124. <artifactId>mysql-connector-java</artifactId>
  125. <version>8.0.27</version>
  126. </dependency>
  127. </dependencies>
  128. </project>