pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <artifactId>mall</artifactId>
  6. <groupId>com.txz</groupId>
  7. <version>1.0.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>mall-service</artifactId>
  11. <packaging>jar</packaging>
  12. <version>1.0.0-SNAPSHOT</version>
  13. <properties>
  14. <java.version>1.8</java.version>
  15. </properties>
  16. <!-- Inherit defaults from Spring Boot -->
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-data-redis</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>redis.clients</groupId>
  24. <artifactId>jedis</artifactId>
  25. <version>3.3.0</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.rocketmq</groupId>
  29. <artifactId>rocketmq-spring-boot-starter</artifactId>
  30. <version>2.2.2</version>
  31. </dependency>
  32. <!--格式化sql日志-->
  33. <dependency>
  34. <groupId>p6spy</groupId>
  35. <artifactId>p6spy</artifactId>
  36. <version>3.8.6</version>
  37. </dependency>
  38. <!--Spring Boot依赖-->
  39. <!--异维科技dubbo接口包依赖-->
  40. <dependency>
  41. <groupId>com.txz</groupId>
  42. <artifactId>mall-api</artifactId>
  43. <version>1.0.0-SNAPSHOT</version>
  44. </dependency>
  45. <!--test依赖-->
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-test</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. <!--异维科技公共包依赖-->
  52. <dependency>
  53. <groupId>com.txz</groupId>
  54. <artifactId>common</artifactId>
  55. <version>1.0.0-SNAPSHOT</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>cn.hutool</groupId>
  59. <artifactId>hutool-all</artifactId>
  60. <version>5.2.4</version>
  61. <scope>compile</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.jsonwebtoken</groupId>
  65. <artifactId>jjwt</artifactId>
  66. <version>0.9.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.tencentcloudapi</groupId>
  70. <artifactId>tencentcloud-sdk-java</artifactId>
  71. <!-- 请到 https://search.maven.org/search?q=tencentcloud-sdk-java 查询最新版本 -->
  72. <version>3.1.158</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.baidu.aip</groupId>
  76. <artifactId>java-sdk</artifactId>
  77. <version>4.15.1</version>
  78. <exclusions>
  79. <exclusion>
  80. <artifactId>guava</artifactId>
  81. <groupId>com.google.guava</groupId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.txz</groupId>
  87. <artifactId>operating-api</artifactId>
  88. <version>1.0.0-SNAPSHOT</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.txz</groupId>
  92. <artifactId>cif-api</artifactId>
  93. <version>1.0.0-SNAPSHOT</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework.cloud</groupId>
  97. <artifactId>spring-cloud-starter-loadbalancer</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.springframework.cloud</groupId>
  101. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.dubbo</groupId>
  105. <artifactId>dubbo-serialization-kryo</artifactId>
  106. <version>2.7.9</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.springdoc</groupId>
  110. <artifactId>springdoc-openapi-ui</artifactId>
  111. <version>1.6.14</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.alibaba.cloud</groupId>
  115. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  116. <version>2.2.9.RELEASE</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.alibaba.cloud</groupId>
  120. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  121. <version>2.2.9.RELEASE</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.alibaba.nacos</groupId>
  125. <artifactId>nacos-client</artifactId>
  126. <version>2.2.2</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-web</artifactId>
  131. <!-- 移除tomcat容器-->
  132. <exclusions>
  133. <exclusion>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-tomcat</artifactId>
  136. </exclusion>
  137. </exclusions>
  138. </dependency>
  139. <!-- 替换undertow容器 -->
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-starter-undertow</artifactId>
  143. </dependency>
  144. <dependency>
  145. <groupId>junit</groupId>
  146. <artifactId>junit</artifactId>
  147. <version>4.13.2</version>
  148. <scope>test</scope>
  149. </dependency>
  150. </dependencies>
  151. <build>
  152. <plugins>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. <configuration>
  157. <finalName>mall</finalName>
  158. </configuration>
  159. </plugin>
  160. <plugin>
  161. <artifactId>maven-compiler-plugin</artifactId>
  162. <configuration>
  163. <source>${java.version}</source>
  164. <target>${java.version}</target>
  165. <encoding>UTF-8</encoding>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-surefire-plugin</artifactId>
  171. <version>${maven-surefire-plugin.version}</version>
  172. <configuration>
  173. <skipTests>true</skipTests> <!--默认关掉单元测试 -->
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. </project>