pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.ym</groupId>
  8. <artifactId>mec</artifactId>
  9. <version>1.0</version>
  10. </parent>
  11. <artifactId>mec-zipkin</artifactId>
  12. <name>mec-zipkin</name>
  13. <url>http://maven.apache.org</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.cloud</groupId>
  20. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>io.zipkin.java</groupId>
  24. <artifactId>zipkin-server</artifactId>
  25. <!--排除log4j2 避免和logback冲突警告 -->
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-log4j2</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.zipkin.java</groupId>
  35. <artifactId>zipkin-autoconfigure-ui</artifactId>
  36. </dependency>
  37. <!-- 使用消息的方式收集数据(使用rabbitmq) -->
  38. <dependency>
  39. <groupId>io.zipkin.java</groupId>
  40. <artifactId>zipkin-autoconfigure-collector-rabbitmq</artifactId>
  41. </dependency>
  42. <!-- 采用 elasticsearch 存储数据 -->
  43. <dependency>
  44. <groupId>io.zipkin.java</groupId>
  45. <artifactId>zipkin-autoconfigure-storage-elasticsearch-http</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>de.codecentric</groupId>
  49. <artifactId>spring-boot-admin-starter-client</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-security</artifactId>
  54. <exclusions>
  55. <exclusion>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter</artifactId>
  58. </exclusion>
  59. </exclusions>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-maven-plugin</artifactId>
  67. </plugin>
  68. <plugin>
  69. <groupId>com.spotify</groupId>
  70. <artifactId>docker-maven-plugin</artifactId>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>