pom.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. </plugins>
  28. </build>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. <exclusions>
  34. <!--排除logback-->
  35. <exclusion>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-logging</artifactId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-test</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-devtools</artifactId>
  49. <scope>runtime</scope>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-aop</artifactId>
  55. </dependency>
  56. <!--log4j2 依赖-->
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-log4j2</artifactId>
  60. </dependency>
  61. <!--异步日志依赖-->
  62. <dependency>
  63. <groupId>com.lmax</groupId>
  64. <artifactId>disruptor</artifactId>
  65. <version>3.3.7</version>
  66. </dependency>
  67. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  68. <dependency>
  69. <groupId>com.google.code.gson</groupId>
  70. <artifactId>gson</artifactId>
  71. <version>2.8.5</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.commons</groupId>
  75. <artifactId>commons-lang3</artifactId>
  76. <version>3.8</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.apache.httpcomponents</groupId>
  80. <artifactId>httpclient</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <artifactId>commons-logging</artifactId>
  84. <groupId>commons-logging</groupId>
  85. </exclusion>
  86. </exclusions>
  87. </dependency>
  88. <dependency>
  89. <groupId>commons-io</groupId>
  90. <artifactId>commons-io</artifactId>
  91. <version>2.7</version>
  92. </dependency>
  93. <!--email-->
  94. <dependency>
  95. <groupId>javax.mail</groupId>
  96. <artifactId>javax.mail-api</artifactId>
  97. <version>1.6.2</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.sun.mail</groupId>
  101. <artifactId>javax.mail</artifactId>
  102. <version>1.6.2</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.bookstore</groupId>
  106. <artifactId>book-dao</artifactId>
  107. <version>1.0</version>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.google.guava</groupId>
  112. <artifactId>guava</artifactId>
  113. <version>18.0</version>
  114. </dependency>
  115. <!--redis-->
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-data-redis</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.commons</groupId>
  122. <artifactId>commons-pool2</artifactId>
  123. </dependency>
  124. </dependencies>
  125. </project>