pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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>commons-io</groupId>
  80. <artifactId>commons-io</artifactId>
  81. <version>2.7</version>
  82. </dependency>
  83. <!--httpClient-->
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpclient</artifactId>
  87. <version>4.5.13</version>
  88. </dependency>
  89. <!--email-->
  90. <dependency>
  91. <groupId>javax.mail</groupId>
  92. <artifactId>javax.mail-api</artifactId>
  93. <version>1.6.2</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.sun.mail</groupId>
  97. <artifactId>javax.mail</artifactId>
  98. <version>1.6.2</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.bookstore</groupId>
  102. <artifactId>book-dao</artifactId>
  103. <version>1.0</version>
  104. <scope>compile</scope>
  105. </dependency>
  106. <!--redis-->
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter-data-redis</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-pool2</artifactId>
  114. </dependency>
  115. </dependencies>
  116. </project>