pom.xml 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  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>com.starbuds.server</groupId>
  7. <artifactId>service-parent</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <properties>
  11. <common.version>1.0.0-SNAPSHOT</common.version>
  12. <spring-boot.version>2.2.1.RELEASE</spring-boot.version>
  13. <dubbo.version>2.7.4.1</dubbo.version>
  14. <nacos.version>1.1.4</nacos.version>
  15. <mybatis-spring-boot-starter.version>2.1.1</mybatis-spring-boot-starter.version>
  16. <hutool-version>5.0.6</hutool-version>
  17. <tablestore.version>5.5.0</tablestore.version>
  18. <seata.version>1.0.0</seata.version>
  19. </properties>
  20. <!-- 发布项目的配置 -->
  21. <distributionManagement>
  22. <repository>
  23. <id>rdc-releases</id>
  24. <url>https://repo.rdc.aliyun.com/repository/103033-release-ihyXwu/</url>
  25. </repository>
  26. <snapshotRepository>
  27. <id>rdc-snapshots</id>
  28. <url>https://repo.rdc.aliyun.com/repository/103033-snapshot-pQmiML/</url>
  29. </snapshotRepository>
  30. </distributionManagement>
  31. <dependencyManagement>
  32. <dependencies>
  33. <!-- Spring Boot -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-dependencies</artifactId>
  37. <version>${spring-boot.version}</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. <!-- Apache Dubbo -->
  42. <dependency>
  43. <groupId>org.apache.dubbo</groupId>
  44. <artifactId>dubbo-dependencies-bom</artifactId>
  45. <version>${dubbo.version}</version>
  46. <type>pom</type>
  47. <scope>import</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.dubbo</groupId>
  51. <artifactId>dubbo</artifactId>
  52. <version>${dubbo.version}</version>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.springframework</groupId>
  56. <artifactId>spring</artifactId>
  57. </exclusion>
  58. <exclusion>
  59. <groupId>javax.servlet</groupId>
  60. <artifactId>servlet-api</artifactId>
  61. </exclusion>
  62. <exclusion>
  63. <groupId>log4j</groupId>
  64. <artifactId>log4j</artifactId>
  65. </exclusion>
  66. </exclusions>
  67. </dependency>
  68. </dependencies>
  69. </dependencyManagement>
  70. <dependencies>
  71. <!-- common -->
  72. <dependency>
  73. <groupId>com.starbuds.server</groupId>
  74. <artifactId>common</artifactId>
  75. <version>${common.version}</version>
  76. </dependency>
  77. <!-- Spring Boot dependencies -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter</artifactId>
  81. <exclusions>
  82. <exclusion>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-logging</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>logback-classic</artifactId>
  89. </exclusion>
  90. </exclusions>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.springframework.boot</groupId>
  94. <artifactId>spring-boot-starter-web</artifactId>
  95. </dependency>
  96. <!-- Dubbo Spring Boot Starter -->
  97. <dependency>
  98. <groupId>org.apache.dubbo</groupId>
  99. <artifactId>dubbo-spring-boot-starter</artifactId>
  100. <version>${dubbo.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.apache.dubbo</groupId>
  104. <artifactId>dubbo</artifactId>
  105. </dependency>
  106. <!-- Dubbo Registry Nacos -->
  107. <dependency>
  108. <groupId>org.apache.dubbo</groupId>
  109. <artifactId>dubbo-registry-nacos</artifactId>
  110. <version>${dubbo.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.alibaba.nacos</groupId>
  114. <artifactId>nacos-client</artifactId>
  115. <version>${nacos.version}</version>
  116. <exclusions>
  117. <exclusion>
  118. <groupId>com.alibaba</groupId>
  119. <artifactId>fastjson</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>com.fasterxml.jackson.core</groupId>
  123. <artifactId>jackson-core</artifactId>
  124. </exclusion>
  125. <exclusion>
  126. <groupId>com.fasterxml.jackson.core</groupId>
  127. <artifactId>jackson-databind</artifactId>
  128. </exclusion>
  129. </exclusions>
  130. </dependency>
  131. <!-- redis -->
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-data-redis</artifactId>
  135. </dependency>
  136. <!-- mybatis -->
  137. <dependency>
  138. <groupId>org.mybatis.spring.boot</groupId>
  139. <artifactId>mybatis-spring-boot-starter</artifactId>
  140. <version>${mybatis-spring-boot-starter.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>mysql</groupId>
  144. <artifactId>mysql-connector-java</artifactId>
  145. </dependency>
  146. <!-- log4j2 -->
  147. <dependency>
  148. <groupId>org.apache.logging.log4j</groupId>
  149. <artifactId>log4j-api</artifactId>
  150. <version>2.17.0</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.logging.log4j</groupId>
  154. <artifactId>log4j-core</artifactId>
  155. <version>2.17.0</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-starter-log4j2</artifactId>
  160. <exclusions>
  161. <exclusion>
  162. <groupId>org.apache.logging.log4j</groupId>
  163. <artifactId>log4j-api</artifactId>
  164. </exclusion>
  165. <exclusion>
  166. <groupId>org.apache.logging.log4j</groupId>
  167. <artifactId>log4j-core</artifactId>
  168. </exclusion>
  169. </exclusions>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.projectlombok</groupId>
  173. <artifactId>lombok</artifactId>
  174. </dependency>
  175. <!-- hutool -->
  176. <dependency>
  177. <groupId>cn.hutool</groupId>
  178. <artifactId>hutool-all</artifactId>
  179. <version>${hutool-version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-starter-test</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.google.protobuf</groupId>
  187. <artifactId>protobuf-java</artifactId>
  188. <version>2.4.1</version>
  189. <scope>compile</scope>
  190. <optional>true</optional>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.apache.dubbo</groupId>
  194. <artifactId>dubbo-spring-boot-actuator</artifactId>
  195. <version>2.7.4.1</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.springframework.boot</groupId>
  199. <artifactId>spring-boot-starter-actuator</artifactId>
  200. </dependency>
  201. <!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-opentracing -->
  202. <dependency>
  203. <groupId>org.apache.skywalking</groupId>
  204. <artifactId>apm-toolkit-trace</artifactId>
  205. <version>8.7.0</version>
  206. </dependency>
  207. <!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-logback-1.x -->
  208. <dependency>
  209. <groupId>org.apache.skywalking</groupId>
  210. <artifactId>apm-toolkit-log4j-2.x</artifactId>
  211. <version>8.7.0</version>
  212. </dependency>
  213. <!--plumelog-->
  214. <dependency>
  215. <groupId>com.plumelog</groupId>
  216. <artifactId>plumelog-log4j2</artifactId>
  217. <version>3.4.2</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.plumelog</groupId>
  221. <artifactId>plumelog-trace</artifactId>
  222. <version>3.4.2</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.plumelog</groupId>
  226. <artifactId>plumelog-dubbo</artifactId>
  227. <version>3.4.2</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.springframework.boot</groupId>
  231. <artifactId>spring-boot-starter-aop</artifactId>
  232. </dependency>
  233. </dependencies>
  234. <build>
  235. <plugins>
  236. <plugin>
  237. <groupId>org.apache.maven.plugins</groupId>
  238. <artifactId>maven-compiler-plugin</artifactId>
  239. <configuration>
  240. <source>1.8</source>
  241. <target>1.8</target>
  242. </configuration>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.springframework.boot</groupId>
  246. <artifactId>spring-boot-maven-plugin</artifactId>
  247. <version>${spring-boot.version}</version>
  248. <executions>
  249. <execution>
  250. <goals>
  251. <goal>repackage</goal>
  252. </goals>
  253. </execution>
  254. </executions>
  255. </plugin>
  256. </plugins>
  257. </build>
  258. </project>