You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.4 KiB
92 lines
3.4 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<!-- |
|
~ Copyright 1999-2018 Alibaba Group Holding Ltd. |
|
~ |
|
~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
~ you may not use this file except in compliance with the License. |
|
~ You may obtain a copy of the License at |
|
~ |
|
~ http://www.apache.org/licenses/LICENSE-2.0 |
|
~ |
|
~ Unless required by applicable law or agreed to in writing, software |
|
~ distributed under the License is distributed on an "AS IS" BASIS, |
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
~ See the License for the specific language governing permissions and |
|
~ limitations under the License. |
|
--> |
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
xmlns="http://maven.apache.org/POM/4.0.0" |
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
|
|
<artifactId>nacos-consistency</artifactId> |
|
|
|
<build> |
|
<extensions> |
|
<extension> |
|
<groupId>kr.motd.maven</groupId> |
|
<artifactId>os-maven-plugin</artifactId> |
|
<version>1.5.0.Final</version> |
|
</extension> |
|
</extensions> |
|
<plugins> |
|
<!-- Grpc coding plug-in--> |
|
<plugin> |
|
<groupId>org.xolstice.maven.plugins</groupId> |
|
<artifactId>protobuf-maven-plugin</artifactId> |
|
<version>0.6.1</version> |
|
<configuration> |
|
<protocArtifact>com.google.protobuf:protoc:${protobuf-java.version}:exe:${os.detected.classifier} |
|
</protocArtifact> |
|
<pluginId>grpc-java</pluginId> |
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc-java.version}:exe:${os.detected.classifier} |
|
</pluginArtifact> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>compile</goal> |
|
<goal>compile-custom</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>nacos-common</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.javatuples</groupId> |
|
<artifactId>javatuples</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.caucho</groupId> |
|
<artifactId>hessian</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.google.protobuf</groupId> |
|
<artifactId>protobuf-java</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>com.google.protobuf</groupId> |
|
<artifactId>protobuf-java</artifactId> |
|
<version>3.25.1</version> <!-- 确保使用最新的稳定版本 --> |
|
</dependency> |
|
</dependencies> |
|
<modelVersion>4.0.0</modelVersion> |
|
|
|
<name>nacos-consistency ${project.version}</name> |
|
<packaging>jar</packaging> |
|
<parent> |
|
<groupId>com.alibaba.nacos</groupId> |
|
<artifactId>nacos-all</artifactId> |
|
<relativePath>../pom.xml</relativePath> |
|
<version>${revision}</version> |
|
</parent> |
|
|
|
<url>https://nacos.io</url> |
|
|
|
</project>
|
|
|