2022-05-22 17:40:43 +00:00
|
|
|
<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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-05-16 16:18:26 +00:00
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
<groupId>com.yuandian.dataflow</groupId>
|
|
|
|
<artifactId>dataflow</artifactId>
|
2022-06-17 10:48:10 +00:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2022-05-22 17:40:43 +00:00
|
|
|
<packaging>jar</packaging>
|
2022-05-16 16:18:26 +00:00
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
<name>dataflow</name>
|
|
|
|
<url>http://maven.apache.org</url>
|
2022-05-16 16:18:26 +00:00
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2022-07-27 15:37:40 +00:00
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<java.version>11</java.version>
|
2022-05-17 16:56:52 +00:00
|
|
|
|
|
|
|
<protobuf.version>3.20.1</protobuf.version>
|
|
|
|
<protostuff.version>1.7.4</protostuff.version>
|
2022-05-22 17:40:43 +00:00
|
|
|
<javax.annotation.version>1.3.2</javax.annotation.version>
|
2022-05-29 17:03:03 +00:00
|
|
|
<ratis.version>2.3.0</ratis.version>
|
2022-06-20 09:01:29 +00:00
|
|
|
<grpc.version>1.32.3</grpc.version>
|
2022-05-22 17:40:43 +00:00
|
|
|
<slf4j.version>1.7.36</slf4j.version>
|
2022-07-20 10:27:00 +00:00
|
|
|
<jraft.version>1.3.11</jraft.version>
|
|
|
|
<spring.boot.version>2.7.1</spring.boot.version>
|
2022-07-27 04:37:32 +00:00
|
|
|
<mongo.driver.version>4.7.0</mongo.driver.version>
|
2022-06-13 09:45:24 +00:00
|
|
|
<nacos.version>2.1.0</nacos.version>
|
2022-06-14 10:17:01 +00:00
|
|
|
<snakeyaml.version>1.30</snakeyaml.version>
|
2022-07-20 17:43:25 +00:00
|
|
|
<logback.version>1.2.11</logback.version>
|
2022-07-04 05:55:43 +00:00
|
|
|
<yuandian.common.config.version>1.0.4</yuandian.common.config.version>
|
2022-05-22 17:40:43 +00:00
|
|
|
</properties>
|
2022-05-17 16:56:52 +00:00
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
<dependencies>
|
2022-06-19 17:06:07 +00:00
|
|
|
|
2022-06-05 17:02:55 +00:00
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<version>5.8.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2022-06-17 10:48:10 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.yuandian.common</groupId>
|
|
|
|
<artifactId>config</artifactId>
|
|
|
|
<version>${yuandian.common.config.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-07-20 10:27:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2022-07-20 17:43:25 +00:00
|
|
|
<version>${logback.version}</version>
|
2022-07-20 10:27:00 +00:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
2022-07-20 17:43:25 +00:00
|
|
|
<version>${logback.version}</version>
|
2022-07-20 10:27:00 +00:00
|
|
|
</dependency>
|
2022-05-22 17:40:43 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
2022-07-20 10:27:00 +00:00
|
|
|
|
2022-06-14 10:17:01 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
<version>${snakeyaml.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alipay.sofa</groupId>
|
|
|
|
<artifactId>jraft-core</artifactId>
|
|
|
|
<version>${jraft.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-06-05 17:02:55 +00:00
|
|
|
|
2022-07-27 04:37:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.mongodb/mongodb-driver-sync -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb</groupId>
|
|
|
|
<artifactId>mongodb-driver-sync</artifactId>
|
|
|
|
<version>${mongo.driver.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-05-29 17:03:03 +00:00
|
|
|
|
2022-07-21 07:48:59 +00:00
|
|
|
<!-- https://mvnrepository.com/artifact/org.reflections/reflections -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
|
|
|
<version>0.10.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
2022-07-20 10:27:00 +00:00
|
|
|
<!-- <dependency>
|
2022-06-01 10:43:01 +00:00
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2022-06-17 10:48:10 +00:00
|
|
|
<version>${spring.boot.version}</version>
|
2022-07-20 10:27:00 +00:00
|
|
|
</dependency> -->
|
2022-05-22 17:40:43 +00:00
|
|
|
|
2022-06-01 10:43:01 +00:00
|
|
|
|
|
|
|
<!-- protobuf 依赖 -->
|
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
|
|
|
|
<dependency>
|
2022-05-17 16:56:52 +00:00
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
2022-05-22 17:40:43 +00:00
|
|
|
<version>${javax.annotation.version}</version>
|
2022-05-17 16:56:52 +00:00
|
|
|
</dependency>
|
|
|
|
|
2022-06-13 09:45:24 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
<version>${nacos.version}</version>
|
|
|
|
</dependency>
|
2022-05-22 17:40:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加grpc相关依赖包 -->
|
2022-06-09 10:10:52 +00:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
<version>${protobuf.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-05-17 16:56:52 +00:00
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-netty</artifactId>
|
2022-05-22 17:40:43 +00:00
|
|
|
<version>${grpc.version}</version>
|
2022-05-17 16:56:52 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
2022-05-22 17:40:43 +00:00
|
|
|
<version>${grpc.version}</version>
|
2022-05-17 16:56:52 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
2022-05-22 17:40:43 +00:00
|
|
|
<version>${grpc.version}</version>
|
2022-05-17 16:56:52 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2022-05-22 17:40:43 +00:00
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-all</artifactId>
|
|
|
|
<version>${grpc.version}</version>
|
2022-06-09 10:10:52 +00:00
|
|
|
</dependency>
|
2022-05-22 17:40:43 +00:00
|
|
|
|
2022-07-25 09:04:45 +00:00
|
|
|
|
2022-06-05 17:02:55 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>1.18.24</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2022-07-25 09:04:45 +00:00
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
</dependencies>
|
|
|
|
|
2022-06-20 09:01:29 +00:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:http://474420502.top/test/dataflow</connection>
|
|
|
|
<url>http://474420502.top/test/dataflow</url>
|
|
|
|
<developerConnection>scm:git:http://474420502.top/test/dataflow</developerConnection>
|
|
|
|
<tag>HEAD</tag>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>yuandian-nexus</id>
|
|
|
|
<name>yuandian-snapshots</name>
|
|
|
|
<url>http://mvn.yuandian.com/repository/maven-snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>yuandian-nexus</id>
|
|
|
|
<name>yuandian-releases</name>
|
|
|
|
<url>http://mvn.yuandian.com/repository/maven-releases</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
|
2022-06-17 10:48:10 +00:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>yuandian-nexus</id>
|
|
|
|
<name>Team Nexus Repository</name>
|
|
|
|
<url>http://mvn.yuandian.com/repository/maven-public</url>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
|
|
<pluginRepository>
|
|
|
|
<id>yuandian-nexus</id>
|
|
|
|
<name>Team Nexus Repository</name>
|
|
|
|
<url>http://mvn.yuandian.com/repository/maven-public</url>
|
|
|
|
</pluginRepository>
|
|
|
|
</pluginRepositories>
|
2022-05-22 17:40:43 +00:00
|
|
|
|
2022-06-17 10:48:10 +00:00
|
|
|
<build>
|
2022-05-17 16:56:52 +00:00
|
|
|
<extensions>
|
|
|
|
<extension>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
|
|
<version>1.7.0</version>
|
|
|
|
</extension>
|
|
|
|
</extensions>
|
|
|
|
|
|
|
|
<plugins>
|
2022-05-22 17:40:43 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
|
|
<version>1.6.2</version>
|
|
|
|
</plugin>
|
2022-07-20 10:27:00 +00:00
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2022-07-21 07:48:59 +00:00
|
|
|
<version>3.2.2</version>
|
2022-07-20 10:27:00 +00:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
2022-07-20 17:43:25 +00:00
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
2022-07-20 10:27:00 +00:00
|
|
|
<mainClass>com.yuandian.dataflow.Server</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-07-20 17:43:25 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>false</overWriteSnapshots>
|
|
|
|
<overWriteIfNewer>true</overWriteIfNewer>
|
|
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<plugin>
|
2022-07-20 10:27:00 +00:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>make-assembly</id>
|
2022-07-20 17:43:25 +00:00
|
|
|
<phase>assembly</phase>
|
2022-07-20 10:27:00 +00:00
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2022-07-20 17:43:25 +00:00
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<mainClass>com.yuandian.dataflow.Server</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
2022-07-20 10:27:00 +00:00
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
2022-06-01 10:43:01 +00:00
|
|
|
</plugin>
|
2022-06-20 09:01:29 +00:00
|
|
|
|
2022-07-20 10:27:00 +00:00
|
|
|
|
2022-07-20 17:43:25 +00:00
|
|
|
|
2022-07-20 10:27:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-20 09:01:29 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.5.3</version>
|
|
|
|
<configuration>
|
|
|
|
<tagNameFormat>v@{project.version}</tagNameFormat>
|
|
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
|
|
<releaseProfiles>releases</releaseProfiles>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nxrm3-maven-plugin</artifactId>
|
|
|
|
<version>1.0.4</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-deploy</id>
|
|
|
|
<phase>deploy</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>deploy</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<nexusUrl>http://mvn.yuandian.com</nexusUrl>
|
|
|
|
<!-- The server "id" element from settings to use authentication from settings.xml-->
|
|
|
|
<serverId>yuandian-nexus</serverId>
|
|
|
|
<!-- Which repository to deploy to -->
|
|
|
|
<repository>maven-snapshots</repository>
|
|
|
|
<!-- Skip the staging deploy mojo -->
|
|
|
|
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-07-05 05:59:07 +00:00
|
|
|
|
2022-05-17 16:56:52 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2022-06-20 09:01:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-22 17:40:43 +00:00
|
|
|
</project>
|