pom.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.example</groupId>
  7. <artifactId>music-server</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.3.6.RELEASE</version>
  13. </parent>
  14. <properties>
  15. <swagger.version>2.7.0</swagger.version>
  16. </properties>
  17. <dependencies>
  18. <!-- Spring Boot web依赖 -->
  19. <dependency>
  20. <groupId>org.springframework.boot</groupId>
  21. <artifactId>spring-boot-starter-web</artifactId>
  22. <exclusions>
  23. <exclusion>
  24. <artifactId>log4j-to-slf4j</artifactId>
  25. <groupId>org.apache.logging.log4j</groupId>
  26. </exclusion>
  27. <exclusion>
  28. <artifactId>logback-classic</artifactId>
  29. <groupId>ch.qos.logback</groupId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-validation</artifactId>
  36. </dependency>
  37. <!--mysql-connector-java就是帮助java程序操作mysql的驱动程序。通过与mysql服务端建立连接,发送sql语句并且获取结果集-->
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. <version>8.0.16</version>
  42. </dependency>
  43. <!--mybatis用来和数据库进行交互-->
  44. <dependency>
  45. <groupId>com.baomidou</groupId>
  46. <artifactId>mybatis-plus-boot-starter</artifactId>
  47. <version>3.5.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mybatis.spring.boot</groupId>
  51. <artifactId>mybatis-spring-boot-starter</artifactId>
  52. <version>2.1.4</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>io.springfox</groupId>
  56. <artifactId>springfox-swagger2</artifactId>
  57. <version>${swagger.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.springfox</groupId>
  61. <artifactId>springfox-swagger-ui</artifactId>
  62. <version>${swagger.version}</version>
  63. </dependency>
  64. <!-- Knife4j Dependency -->
  65. <dependency>
  66. <groupId>com.github.xiaoymin</groupId>
  67. <artifactId>knife4j-spring-boot-starter</artifactId>
  68. <version>2.0.4</version>
  69. </dependency>
  70. <!-- Log4j -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-log4j</artifactId>
  74. <version>1.3.8.RELEASE</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.logging.log4j</groupId>
  78. <artifactId>log4j-to-slf4j</artifactId>
  79. <version>2.8.2</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>junit</groupId>
  83. <artifactId>junit</artifactId>
  84. <version>4.13.1</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. <version>1.18.16</version>
  90. <scope>provided</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.alibaba</groupId>
  94. <artifactId>fastjson</artifactId>
  95. <version>1.2.47</version>
  96. </dependency>
  97. <!--这里面有点小工具啥的-->
  98. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  99. <dependency>
  100. <groupId>org.apache.commons</groupId>
  101. <artifactId>commons-lang3</artifactId>
  102. <version>3.8.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.alibaba</groupId>
  106. <artifactId>easyexcel</artifactId>
  107. <version>3.1.3</version>
  108. </dependency>
  109. <!-- redis -->
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-starter-data-redis</artifactId>
  113. <version>2.6.6</version>
  114. </dependency>
  115. <!--<spring2.X集成redis所需common-pool2-->
  116. <dependency>
  117. <groupId>org.apache.commons</groupId>
  118. <artifactId>commons-pool2</artifactId>
  119. <version>2.11.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-mail</artifactId>
  124. </dependency>
  125. <dependency>
  126. <groupId>io.minio</groupId>
  127. <artifactId>minio</artifactId>
  128. <version>8.3.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.squareup.okhttp3</groupId>
  132. <artifactId>okhttp</artifactId>
  133. <version>4.8.1</version>
  134. </dependency>
  135. </dependencies>
  136. <build>
  137. <plugins>
  138. <!-- 加上这段代码 打包插件 因为启动不起来 -->
  139. <plugin>
  140. <groupId>org.springframework.boot</groupId>
  141. <artifactId>spring-boot-maven-plugin</artifactId>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-surefire-plugin</artifactId>
  146. <version>2.22.1</version>
  147. <configuration>
  148. <skipTests>true</skipTests>
  149. </configuration>
  150. </plugin>
  151. </plugins>
  152. </build>
  153. </project>