pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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>book-store</artifactId>
  7. <groupId>com.bookstore</groupId>
  8. <version>1.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>book-server</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <build>
  17. <plugins>
  18. <!--maven项目打包-->
  19. <plugin>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-maven-plugin</artifactId>
  22. <configuration>
  23. <fork>true</fork>
  24. <layout>ZIP</layout>
  25. </configuration>
  26. </plugin>
  27. <!--mybatis.generator maven插件-->
  28. <plugin>
  29. <groupId>org.mybatis.generator</groupId>
  30. <artifactId>mybatis-generator-maven-plugin</artifactId>
  31. <version>1.3.7</version>
  32. <configuration>
  33. <configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
  34. <overwrite>true</overwrite>
  35. </configuration>
  36. <dependencies>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. <version>8.0.16</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.itfsw</groupId>
  44. <artifactId>mybatis-generator-plugin</artifactId>
  45. <version>1.3.7</version>
  46. </dependency>
  47. </dependencies>
  48. </plugin>
  49. </plugins>
  50. </build>
  51. <dependencies>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-web</artifactId>
  55. <exclusions>
  56. <!--排除logback-->
  57. <exclusion>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-logging</artifactId>
  60. </exclusion>
  61. </exclusions>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-test</artifactId>
  66. <scope>test</scope>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-devtools</artifactId>
  71. <scope>runtime</scope>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-aop</artifactId>
  77. </dependency>
  78. <!--log4j2 依赖-->
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-log4j2</artifactId>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-cache</artifactId>
  86. </dependency>
  87. <!--异步日志依赖-->
  88. <dependency>
  89. <groupId>com.lmax</groupId>
  90. <artifactId>disruptor</artifactId>
  91. <version>3.3.7</version>
  92. </dependency>
  93. <!-- lombok -->
  94. <dependency>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. <version>1.18.4</version>
  98. </dependency>
  99. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  100. <dependency>
  101. <groupId>com.google.code.gson</groupId>
  102. <artifactId>gson</artifactId>
  103. <version>2.8.5</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.apache.commons</groupId>
  107. <artifactId>commons-lang3</artifactId>
  108. <version>3.8</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>commons-io</groupId>
  112. <artifactId>commons-io</artifactId>
  113. <version>2.7</version>
  114. </dependency>
  115. <!--httpClient-->
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. <version>4.5.13</version>
  120. </dependency>
  121. <!--email-->
  122. <dependency>
  123. <groupId>javax.mail</groupId>
  124. <artifactId>javax.mail-api</artifactId>
  125. <version>1.6.2</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.sun.mail</groupId>
  129. <artifactId>javax.mail</artifactId>
  130. <version>1.6.2</version>
  131. </dependency>
  132. <!--mybatis-->
  133. <dependency>
  134. <groupId>org.mybatis.spring.boot</groupId>
  135. <artifactId>mybatis-spring-boot-starter</artifactId>
  136. <version>1.3.2</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.alibaba</groupId>
  140. <artifactId>druid-spring-boot-starter</artifactId>
  141. <version>1.1.10</version>
  142. </dependency>
  143. <!--mysql-->
  144. <dependency>
  145. <groupId>mysql</groupId>
  146. <artifactId>mysql-connector-java</artifactId>
  147. <version>8.0.16</version>
  148. </dependency>
  149. </dependencies>
  150. </project>