pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  4. ~
  5. ~ Redistribution and use in source and binary forms, with or without
  6. ~ modification, are permitted provided that the following conditions are met:
  7. ~
  8. ~ Redistributions of source code must retain the above copyright notice,
  9. ~ this list of conditions and the following disclaimer.
  10. ~ Redistributions in binary form must reproduce the above copyright
  11. ~ notice, this list of conditions and the following disclaimer in the
  12. ~ documentation and/or other materials provided with the distribution.
  13. ~ Neither the name of the pig4cloud.com developer nor the names of its
  14. ~ contributors may be used to endorse or promote products derived from
  15. ~ this software without specific prior written permission.
  16. ~ Author: lengleng (wangiegie@gmail.com)
  17. -->
  18. <project xmlns="http://maven.apache.org/POM/4.0.0"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <parent>
  22. <artifactId>pigx-visual</artifactId>
  23. <groupId>com.pig4cloud</groupId>
  24. <version>2.7.0</version>
  25. </parent>
  26. <modelVersion>4.0.0</modelVersion>
  27. <artifactId>pigx-zipkin</artifactId>
  28. <description>pigx zipkin追踪服务</description>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-undertow</artifactId>
  37. </dependency>
  38. <!--配置中心客户端-->
  39. <dependency>
  40. <groupId>org.springframework.cloud</groupId>
  41. <artifactId>spring-cloud-starter-config</artifactId>
  42. </dependency>
  43. <!--zipkin-->
  44. <dependency>
  45. <groupId>io.zipkin.java</groupId>
  46. <artifactId>zipkin-server</artifactId>
  47. <version>${zipkin.version}</version>
  48. <!--排除log4j2 避免和logback冲突警告-->
  49. <exclusions>
  50. <exclusion>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-log4j2</artifactId>
  53. </exclusion>
  54. </exclusions>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.zipkin.java</groupId>
  58. <artifactId>zipkin-autoconfigure-ui</artifactId>
  59. <version>${zipkin.version}</version>
  60. </dependency>
  61. <!-- 使用mysql存储-->
  62. <dependency>
  63. <groupId>io.zipkin.java</groupId>
  64. <artifactId>zipkin-autoconfigure-storage-mysql</artifactId>
  65. <version>${zipkin.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-jdbc</artifactId>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.zipkin.java</groupId>
  73. <artifactId>zipkin-storage-mysql</artifactId>
  74. <version>${zipkin-storage-mysql.version}</version>
  75. </dependency>
  76. <!-- zipkin2.x 需要此包连接操作mysql -->
  77. <dependency>
  78. <groupId>org.jooq</groupId>
  79. <artifactId>jooq</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>mysql</groupId>
  83. <artifactId>mysql-connector-java</artifactId>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-maven-plugin</artifactId>
  91. </plugin>
  92. <plugin>
  93. <groupId>com.spotify</groupId>
  94. <artifactId>docker-maven-plugin</artifactId>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>