pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <parent>
  6. <artifactId>collector</artifactId>
  7. <groupId>com.usthe.tancloud</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>server</artifactId>
  12. <dependencies>
  13. <!-- spring -->
  14. <dependency>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-webflux</artifactId>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-configuration-processor</artifactId>
  21. <optional>true</optional>
  22. </dependency>
  23. <!-- isolation -->
  24. <dependency>
  25. <groupId>com.alipay.sofa</groupId>
  26. <artifactId>sofa-ark-springboot-starter</artifactId>
  27. <version>1.1.6</version>
  28. </dependency>
  29. <!-- common -->
  30. <dependency>
  31. <groupId>com.usthe.tancloud</groupId>
  32. <artifactId>common</artifactId>
  33. <version>1.0-SNAPSHOT</version>
  34. </dependency>
  35. <!-- etcd -->
  36. <dependency>
  37. <groupId>io.etcd</groupId>
  38. <artifactId>jetcd-core</artifactId>
  39. <version>0.5.11</version>
  40. </dependency>
  41. <!-- kafka -->
  42. <dependency>
  43. <groupId>org.apache.kafka</groupId>
  44. <artifactId>kafka-clients</artifactId>
  45. <version>3.0.0</version>
  46. </dependency>
  47. <!-- http -->
  48. <dependency>
  49. <groupId>org.apache.httpcomponents</groupId>
  50. <artifactId>httpclient</artifactId>
  51. <version>4.5.13</version>
  52. </dependency>
  53. <!--network-->
  54. <dependency>
  55. <groupId>commons-net</groupId>
  56. <artifactId>commons-net</artifactId>
  57. <version>3.8.0</version>
  58. </dependency>
  59. <!--json path parser-->
  60. <dependency>
  61. <groupId>com.jayway.jsonpath</groupId>
  62. <artifactId>json-path</artifactId>
  63. <version>2.6.0</version>
  64. </dependency>
  65. <!-- lru hashmap -->
  66. <dependency>
  67. <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
  68. <artifactId>concurrentlinkedhashmap-lru</artifactId>
  69. <version>1.4.2</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>com.google.guava</groupId>
  73. <artifactId>guava</artifactId>
  74. <version>31.0.1-jre</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.google.code.gson</groupId>
  78. <artifactId>gson</artifactId>
  79. <version>2.8.8</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.googlecode.aviator</groupId>
  83. <artifactId>aviator</artifactId>
  84. <version>5.2.7</version>
  85. </dependency>
  86. <!-- plugins -->
  87. <dependency>
  88. <groupId>com.usthe.tancloud</groupId>
  89. <artifactId>sample-plugin</artifactId>
  90. <version>1.0-SNAPSHOT</version>
  91. </dependency>
  92. </dependencies>
  93. <build>
  94. <finalName>hertz-beat-collector</finalName>
  95. <plugins>
  96. <plugin>
  97. <groupId>com.alipay.sofa</groupId>
  98. <artifactId>sofa-ark-maven-plugin</artifactId>
  99. <version>1.1.6</version>
  100. <executions>
  101. <execution>
  102. <id>default-cli</id>
  103. <!--goal executed to generate executable-ark-jar -->
  104. <goals>
  105. <goal>repackage</goal>
  106. </goals>
  107. <configuration>
  108. <!--specify destination where executable-ark-jar will be saved, default saved to ${project.build.directory}-->
  109. <outputDirectory>./target</outputDirectory>
  110. <!--default none-->
  111. <arkClassifier>executable</arkClassifier>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-assembly-plugin</artifactId>
  119. <version>3.3.0</version>
  120. <executions>
  121. <execution>
  122. <id>make-zip</id>
  123. <!--绑定的maven操作-->
  124. <phase>package</phase>
  125. <!--运行一次-->
  126. <goals>
  127. <goal>single</goal>
  128. </goals>
  129. <configuration>
  130. <descriptors>
  131. <descriptor>../assembly/collector/assembly.xml</descriptor>
  132. </descriptors>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>