pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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>api-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. <resteasy-spring-boot-starter.version>4.3.1.Final</resteasy-spring-boot-starter.version>
  16. <resteasy-jaxb-provider.version>4.4.1.Final</resteasy-jaxb-provider.version>
  17. <hutool-version>5.0.6</hutool-version>
  18. <fastjson-version>1.2.62</fastjson-version>
  19. <pinyin4j.version>2.5.1</pinyin4j.version>
  20. </properties>
  21. <!-- 发布项目的配置 -->
  22. <distributionManagement>
  23. <repository>
  24. <id>rdc-releases</id>
  25. <url>https://repo123.rdc.aliyun.com/repository/103033-release-ihyXwu/</url>
  26. </repository>
  27. <snapshotRepository>
  28. <id>rdc-snapshots</id>
  29. <url>https://repo123.rdc.aliyun.com/repository/103033-snapshot-pQmiML/</url>
  30. </snapshotRepository>
  31. </distributionManagement>
  32. <dependencyManagement>
  33. <dependencies>
  34. <!-- Spring Boot -->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-dependencies</artifactId>
  38. <version>${spring-boot.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.dubbo</groupId>
  44. <artifactId>dubbo</artifactId>
  45. <version>${dubbo.version}</version>
  46. <exclusions>
  47. <exclusion>
  48. <groupId>org.springframework</groupId>
  49. <artifactId>spring</artifactId>
  50. </exclusion>
  51. <exclusion>
  52. <groupId>javax.servlet</groupId>
  53. <artifactId>servlet-api</artifactId>
  54. </exclusion>
  55. <exclusion>
  56. <groupId>log4j</groupId>
  57. <artifactId>log4j</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. </dependencies>
  62. </dependencyManagement>
  63. <dependencies>
  64. <!-- common -->
  65. <dependency>
  66. <groupId>com.starbuds.server</groupId>
  67. <artifactId>common</artifactId>
  68. <version>${common.version}</version>
  69. </dependency>
  70. <!-- Spring Boot dependencies -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter</artifactId>
  74. <exclusions>
  75. <exclusion>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-starter-logging</artifactId>
  78. </exclusion>
  79. <exclusion>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>logback-classic</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.springframework.boot</groupId>
  87. <artifactId>spring-boot-starter-web</artifactId>
  88. </dependency>
  89. <!-- Dubbo Spring Boot Starter -->
  90. <dependency>
  91. <groupId>org.apache.dubbo</groupId>
  92. <artifactId>dubbo-spring-boot-starter</artifactId>
  93. <version>${dubbo.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.dubbo</groupId>
  97. <artifactId>dubbo</artifactId>
  98. <version>${dubbo.version}</version>
  99. </dependency>
  100. <!-- Dubbo Registry Nacos -->
  101. <dependency>
  102. <groupId>org.apache.dubbo</groupId>
  103. <artifactId>dubbo-registry-nacos</artifactId>
  104. <version>${dubbo.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.alibaba.nacos</groupId>
  108. <artifactId>nacos-client</artifactId>
  109. <version>${nacos.version}</version>
  110. </dependency>
  111. <!-- REST support dependencies -->
  112. <dependency>
  113. <groupId>org.jboss.resteasy</groupId>
  114. <artifactId>resteasy-spring-boot-starter</artifactId>
  115. <version>${resteasy-spring-boot-starter.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.jboss.resteasy</groupId>
  119. <artifactId>resteasy-jaxb-provider</artifactId>
  120. <version>${resteasy-jaxb-provider.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.logging.log4j</groupId>
  124. <artifactId>log4j-api</artifactId>
  125. <version>2.17.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.logging.log4j</groupId>
  129. <artifactId>log4j-core</artifactId>
  130. <version>2.17.0</version>
  131. </dependency>
  132. <!-- log4j2 -->
  133. <dependency>
  134. <groupId>org.springframework.boot</groupId>
  135. <artifactId>spring-boot-starter-log4j2</artifactId>
  136. <exclusions>
  137. <exclusion>
  138. <groupId>org.apache.logging.log4j</groupId>
  139. <artifactId>log4j-api</artifactId>
  140. </exclusion>
  141. <exclusion>
  142. <groupId>org.apache.logging.log4j</groupId>
  143. <artifactId>log4j-core</artifactId>
  144. </exclusion>
  145. </exclusions>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.projectlombok</groupId>
  149. <artifactId>lombok</artifactId>
  150. </dependency>
  151. <!-- hutool -->
  152. <dependency>
  153. <groupId>cn.hutool</groupId>
  154. <artifactId>hutool-all</artifactId>
  155. <version>${hutool-version}</version>
  156. </dependency>
  157. <!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j -->
  158. <dependency>
  159. <groupId>com.belerweb</groupId>
  160. <artifactId>pinyin4j</artifactId>
  161. <version>${pinyin4j.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.springframework.boot</groupId>
  165. <artifactId>spring-boot-starter-test</artifactId>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-starter-actuator</artifactId>
  170. </dependency>
  171. <!-- SkyWalking Start -->
  172. <!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-opentracing -->
  173. <dependency>
  174. <groupId>org.apache.skywalking</groupId>
  175. <artifactId>apm-toolkit-trace</artifactId>
  176. <version>8.7.0</version>
  177. </dependency>
  178. <!-- https://mvnrepository.com/artifact/org.apache.skywalking/apm-toolkit-logback-1.x -->
  179. <dependency>
  180. <groupId>org.apache.skywalking</groupId>
  181. <artifactId>apm-toolkit-log4j-2.x</artifactId>
  182. <version>8.7.0</version>
  183. </dependency>
  184. <!-- SkyWalking End -->
  185. <!--plumelog-->
  186. <dependency>
  187. <groupId>com.plumelog</groupId>
  188. <artifactId>plumelog-log4j2</artifactId>
  189. <version>3.4.2</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.plumelog</groupId>
  193. <artifactId>plumelog-trace</artifactId>
  194. <version>3.4.2</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>com.plumelog</groupId>
  198. <artifactId>plumelog-dubbo</artifactId>
  199. <version>3.4.2</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.springframework.boot</groupId>
  203. <artifactId>spring-boot-starter-aop</artifactId>
  204. </dependency>
  205. </dependencies>
  206. <build>
  207. <plugins>
  208. <plugin>
  209. <groupId>org.apache.maven.plugins</groupId>
  210. <artifactId>maven-compiler-plugin</artifactId>
  211. <configuration>
  212. <source>1.8</source>
  213. <target>1.8</target>
  214. </configuration>
  215. </plugin>
  216. <plugin>
  217. <groupId>org.springframework.boot</groupId>
  218. <artifactId>spring-boot-maven-plugin</artifactId>
  219. <version>${spring-boot.version}</version>
  220. <executions>
  221. <execution>
  222. <goals>
  223. <goal>repackage</goal>
  224. </goals>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </project>