146 lines
5.2 KiB
XML
146 lines
5.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>collector</artifactId>
|
|
<groupId>com.usthe.tancloud</groupId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>server</artifactId>
|
|
|
|
<dependencies>
|
|
<!-- spring -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<!-- isolation -->
|
|
<dependency>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>sofa-ark-springboot-starter</artifactId>
|
|
<version>1.1.6</version>
|
|
</dependency>
|
|
<!-- common -->
|
|
<dependency>
|
|
<groupId>com.usthe.tancloud</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<!-- etcd -->
|
|
<dependency>
|
|
<groupId>io.etcd</groupId>
|
|
<artifactId>jetcd-core</artifactId>
|
|
<version>0.5.11</version>
|
|
</dependency>
|
|
<!-- kafka -->
|
|
<dependency>
|
|
<groupId>org.apache.kafka</groupId>
|
|
<artifactId>kafka-clients</artifactId>
|
|
<version>3.0.0</version>
|
|
</dependency>
|
|
<!-- http -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.5.13</version>
|
|
</dependency>
|
|
<!--network-->
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>3.8.0</version>
|
|
</dependency>
|
|
<!--json path parser-->
|
|
<dependency>
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
<artifactId>json-path</artifactId>
|
|
<version>2.6.0</version>
|
|
</dependency>
|
|
<!-- lru hashmap -->
|
|
<dependency>
|
|
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
|
|
<artifactId>concurrentlinkedhashmap-lru</artifactId>
|
|
<version>1.4.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>31.0.1-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.8.8</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.googlecode.aviator</groupId>
|
|
<artifactId>aviator</artifactId>
|
|
<version>5.2.7</version>
|
|
</dependency>
|
|
<!-- plugins -->
|
|
<dependency>
|
|
<groupId>com.usthe.tancloud</groupId>
|
|
<artifactId>sample-plugin</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>hertz-beat-collector</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>sofa-ark-maven-plugin</artifactId>
|
|
<version>1.1.6</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-cli</id>
|
|
|
|
<!--goal executed to generate executable-ark-jar -->
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
|
|
<configuration>
|
|
<!--specify destination where executable-ark-jar will be saved, default saved to ${project.build.directory}-->
|
|
<outputDirectory>./target</outputDirectory>
|
|
|
|
<!--default none-->
|
|
<arkClassifier>executable</arkClassifier>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>make-zip</id>
|
|
<!--绑定的maven操作-->
|
|
<phase>package</phase>
|
|
<!--运行一次-->
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>../assembly/collector/assembly.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |