2018-09-26 20:05:17 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
2020-06-12 16:05:58 +08:00
|
|
|
~ 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.
|
|
|
|
-->
|
2018-07-21 00:27:23 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2020-11-30 19:14:12 +08:00
|
|
|
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">
|
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<inceptionYear>2018</inceptionYear>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-all</artifactId>
|
2021-01-15 14:37:47 +08:00
|
|
|
<version>${revision}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<packaging>pom</packaging>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<name>Alibaba NACOS ${project.version}</name>
|
|
|
|
<description>Top Nacos project pom.xml file</description>
|
|
|
|
<url>http://nacos.io</url>
|
|
|
|
<prerequisites>
|
|
|
|
<maven>3.2.5</maven>
|
|
|
|
</prerequisites>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<scm>
|
|
|
|
<url>git@github.com:alibaba/nacos.git</url>
|
|
|
|
<connection>scm:git@github.com:alibaba/nacos.git</connection>
|
|
|
|
<developerConnection>scm:git@github.com:alibaba/nacos.git</developerConnection>
|
2021-01-15 14:37:47 +08:00
|
|
|
<tag>nacos-all-${revision}</tag>
|
2018-10-01 11:19:53 +08:00
|
|
|
</scm>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<name>Development List</name>
|
|
|
|
<subscribe>dev-nacos+subscribe@googlegroups.com</subscribe>
|
|
|
|
<unsubscribe>dev-nacos+unsubscribe@googlegroups.com</unsubscribe>
|
|
|
|
<post>dev-nacos@googlegroups.com</post>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>User List</name>
|
|
|
|
<subscribe>users-nacos+subscribe@googlegroups.com</subscribe>
|
|
|
|
<unsubscribe>users-nacos+unsubscribe@googlegroups.com</unsubscribe>
|
|
|
|
<post>users-nacos@googlegroups.com</post>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Commits List</name>
|
|
|
|
<subscribe>commits-nacos+subscribe@googlegroups.com</subscribe>
|
|
|
|
<unsubscribe>commits-nacos+unsubscribe@googlegroups.com</unsubscribe>
|
|
|
|
<post>commits-nacos@googlegroups.com</post>
|
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>Alibaba Nacos</id>
|
|
|
|
<name>Nacos</name>
|
|
|
|
<url>http://nacos.io</url>
|
|
|
|
<email>nacos_dev@linux.alibaba.com</email>
|
|
|
|
</developer>
|
|
|
|
</developers>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<organization>
|
|
|
|
<name>Alibaba Group</name>
|
|
|
|
<url>https://github.com/alibaba</url>
|
|
|
|
</organization>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<issueManagement>
|
|
|
|
<system>github</system>
|
|
|
|
<url>https://github.com/alibaba/nacos/issues</url>
|
|
|
|
</issueManagement>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<properties>
|
2021-06-16 10:39:01 +08:00
|
|
|
<revision>2.0.3-SNAPSHOT</revision>
|
2018-10-01 11:19:53 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<!-- Compiler settings properties -->
|
2019-04-10 20:03:52 +08:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2020-05-29 16:35:48 +08:00
|
|
|
<!-- Maven properties -->
|
|
|
|
<maven.test.skip>false</maven.test.skip>
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
2018-10-01 11:19:53 +08:00
|
|
|
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
|
|
|
<!-- Exclude all generated code -->
|
|
|
|
<sonar.jacoco.itReportPath>${project.basedir}/../test/target/jacoco-it.exec</sonar.jacoco.itReportPath>
|
|
|
|
<sonar.exclusions>file:**/generated-sources/**,**/test/**</sonar.exclusions>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 00:02:19 +08:00
|
|
|
<!-- plugin version -->
|
|
|
|
<versions-maven-plugin.version>2.2</versions-maven-plugin.version>
|
|
|
|
<dependency-mediator-maven-plugin.version>1.0.2</dependency-mediator-maven-plugin.version>
|
|
|
|
<clirr-maven-plugin.version>2.7</clirr-maven-plugin.version>
|
|
|
|
<maven-enforcer-plugin.version>1.4.1</maven-enforcer-plugin.version>
|
|
|
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
|
|
|
<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
|
|
|
|
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
|
|
|
|
<maven-pmd-plugin.version>3.8</maven-pmd-plugin.version>
|
|
|
|
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
|
|
|
|
<maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
|
|
|
|
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
|
|
|
|
<jacoco-maven-plugin.version>0.7.8</jacoco-maven-plugin.version>
|
|
|
|
<maven-surefire-plugin.version>2.20</maven-surefire-plugin.version>
|
|
|
|
<findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version>
|
|
|
|
<sonar-maven-plugin.version>3.0.2</sonar-maven-plugin.version>
|
|
|
|
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
|
|
|
|
<maven-failsafe-plugin.version>2.19.1</maven-failsafe-plugin.version>
|
2020-05-29 16:35:48 +08:00
|
|
|
<maven-assembly-plugin.version>3.0.0</maven-assembly-plugin.version>
|
2021-04-20 19:14:48 +08:00
|
|
|
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
|
2021-01-15 14:37:47 +08:00
|
|
|
<maven-flatten-version>1.1.0</maven-flatten-version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<!-- dependency version related to plugin -->
|
|
|
|
<extra-enforcer-rules.version>1.0-beta-4</extra-enforcer-rules.version>
|
|
|
|
<p3c-pmd.version>1.3.0</p3c-pmd.version>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 00:02:19 +08:00
|
|
|
<!-- dependency version -->
|
2020-09-23 20:15:15 +08:00
|
|
|
<spring-boot-dependencies.version>2.1.17.RELEASE</spring-boot-dependencies.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<servlet-api.version>3.0</servlet-api.version>
|
|
|
|
<commons-lang3.version>3.4</commons-lang3.version>
|
2021-04-27 15:16:54 +08:00
|
|
|
<commons-io.version>2.7</commons-io.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<commons-collections.version>3.2.2</commons-collections.version>
|
|
|
|
<commons-logging.version>1.2</commons-logging.version>
|
|
|
|
<commons-dbcp.version>1.4</commons-dbcp.version>
|
|
|
|
<commons-cli.version>1.2</commons-cli.version>
|
|
|
|
<slf4j-api.version>1.7.7</slf4j-api.version>
|
|
|
|
<logback.version>1.2.3</logback.version>
|
2020-07-03 09:22:44 +08:00
|
|
|
<log4j.version>2.13.3</log4j.version>
|
2021-03-10 11:18:37 +08:00
|
|
|
|
2020-05-29 00:02:19 +08:00
|
|
|
<httpasyncclient.version>4.1.3</httpasyncclient.version>
|
2021-03-17 17:55:54 +08:00
|
|
|
<mysql-connector-java.version>8.0.21</mysql-connector-java.version>
|
2020-05-29 19:01:48 +08:00
|
|
|
<derby.version>10.14.2.0</derby.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<cglib-nodep.version>2.1</cglib-nodep.version>
|
|
|
|
<jcip-annotations.version>1.0</jcip-annotations.version>
|
2021-03-17 17:55:54 +08:00
|
|
|
<jackson-core.version>2.12.2</jackson-core.version>
|
|
|
|
<jackson-databind.version>2.12.2</jackson-databind.version>
|
|
|
|
<jackson.annotations.version>2.12.2</jackson.annotations.version>
|
2020-06-19 10:55:14 +08:00
|
|
|
<jackson-core-asl.version>1.9.13</jackson-core-asl.version>
|
2020-08-07 17:00:20 +08:00
|
|
|
<jjwt.version>0.11.2</jjwt.version>
|
2021-03-17 17:55:54 +08:00
|
|
|
<netty-all.version>4.1.59.Final</netty-all.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<mina-core.version>2.0.0-RC1</mina-core.version>
|
2021-04-27 15:16:54 +08:00
|
|
|
<guava.version>30.1-jre</guava.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<javatuples.version>1.2</javatuples.version>
|
|
|
|
<commonOkHttp.version>0.4.1</commonOkHttp.version>
|
2020-05-17 23:13:40 +08:00
|
|
|
<grpc-java.version>1.24.0</grpc-java.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<proto-google-common-protos.version>1.17.0</proto-google-common-protos.version>
|
|
|
|
<protobuf-java.version>3.8.0</protobuf-java.version>
|
|
|
|
<protoc-gen-grpc-java.version>1.24.0</protoc-gen-grpc-java.version>
|
2020-04-13 16:13:49 +08:00
|
|
|
<hessian.version>4.0.63</hessian.version>
|
2020-05-29 00:02:19 +08:00
|
|
|
<reflections.version>0.9.11</reflections.version>
|
2020-05-29 16:35:48 +08:00
|
|
|
<mockito-all.version>1.10.19</mockito-all.version>
|
2021-03-30 10:16:46 +08:00
|
|
|
<mockito-core.version>3.8.0</mockito-core.version>
|
2020-05-29 16:35:48 +08:00
|
|
|
<hamcrest-all.version>1.3</hamcrest-all.version>
|
|
|
|
<prometheus-simpleclient.version>0.5.0</prometheus-simpleclient.version>
|
2021-03-17 17:55:54 +08:00
|
|
|
<tomcat-embed-jasper.version>9.0.40</tomcat-embed-jasper.version>
|
2020-05-29 16:35:48 +08:00
|
|
|
<truth.version>0.30</truth.version>
|
2020-05-29 19:01:48 +08:00
|
|
|
<HikariCP.version>3.4.2</HikariCP.version>
|
2020-11-26 18:33:18 +08:00
|
|
|
<jraft-core.version>1.3.5</jraft-core.version>
|
|
|
|
<rpc-grpc-impl.version>1.3.5</rpc-grpc-impl.version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</properties>
|
|
|
|
<!-- == -->
|
|
|
|
<!-- =========================================================Build plugins================================================ -->
|
|
|
|
<!-- == -->
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>versions-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${versions-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.vongosling</groupId>
|
|
|
|
<artifactId>dependency-mediator-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${dependency-mediator-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${clirr-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-enforcer-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-ban-circular-dependencies</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<banCircularDependencies/>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>extra-enforcer-rules</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${extra-enforcer-rules.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
<compilerVersion>${maven.compiler.source}</compilerVersion>
|
|
|
|
<showDeprecation>true</showDeprecation>
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<charset>UTF-8</charset>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-source-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-pmd-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<rulesets>
|
|
|
|
<ruleset>rulesets/java/ali-comment.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-concurrent.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-constant.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-exception.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-flowcontrol.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-naming.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-oop.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-orm.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-other.xml</ruleset>
|
|
|
|
<ruleset>rulesets/java/ali-set.xml</ruleset>
|
|
|
|
</rulesets>
|
|
|
|
<printFailingErrors>true</printFailingErrors>
|
2019-10-15 18:07:27 +08:00
|
|
|
<excludes>
|
2020-03-26 20:53:46 +08:00
|
|
|
<exclude>**/consistency/entity/*.java</exclude>
|
2019-10-15 18:07:27 +08:00
|
|
|
<exclude>**/istio/model/mcp/*.java</exclude>
|
|
|
|
<exclude>**/istio/model/naming/*.java</exclude>
|
|
|
|
<exclude>**/istio/model/*.java</exclude>
|
2020-09-02 09:12:53 +08:00
|
|
|
<exclude>**/api/grpc/auto/*.java</exclude>
|
2021-03-31 17:23:47 +08:00
|
|
|
<exclude>**/istio/mcp/**</exclude>
|
|
|
|
<exclude>**/istio/networking/**</exclude>
|
|
|
|
<exclude>**/google/protobuf/**</exclude>
|
2019-10-15 18:07:27 +08:00
|
|
|
</excludes>
|
2018-10-01 11:19:53 +08:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.p3c</groupId>
|
|
|
|
<artifactId>p3c-pmd</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${p3c-pmd.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
2020-07-09 22:10:13 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${maven-checkstyle-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>style/NacosCheckStyle.xml</configLocation>
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<consoleOutput>true</consoleOutput>
|
|
|
|
<failsOnError>true</failsOnError>
|
2021-03-31 17:23:47 +08:00
|
|
|
<excludes>**/consistency/entity/**,**/nacos/test/**,**/api/grpc/auto/**,**/istio/**,**/protobuf/**</excludes>
|
2020-07-09 22:10:13 +08:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>validate</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-10-01 11:19:53 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${apache-rat-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2018-12-10 20:19:30 +08:00
|
|
|
<exclude>.editorconfig</exclude>
|
2018-10-01 11:19:53 +08:00
|
|
|
<exclude>.travis.yml</exclude>
|
|
|
|
<exclude>CONTRIBUTING.md</exclude>
|
2018-11-08 16:00:01 +08:00
|
|
|
<exclude>CODE_OF_CONDUCT.md</exclude>
|
2018-10-01 11:19:53 +08:00
|
|
|
<exclude>CHANGELOG.md</exclude>
|
|
|
|
<exclude>style/codeStyle.md</exclude>
|
|
|
|
<exclude>REPORTING-BUGS.md</exclude>
|
|
|
|
<exclude>README.md</exclude>
|
2018-11-16 14:22:12 +08:00
|
|
|
<exclude>.github/**/*</exclude>
|
2020-04-04 11:22:50 +08:00
|
|
|
<exclude>doc/*</exclude>
|
2018-09-26 20:05:17 +08:00
|
|
|
<exclude>derby.log</exclude>
|
2020-03-30 13:42:55 +08:00
|
|
|
<exclude>logs/*</exclude>
|
2020-06-12 16:05:58 +08:00
|
|
|
<exclude>src/main/resources/static/**</exclude>
|
2019-10-22 17:05:48 +08:00
|
|
|
<exclude>**/istio/model/**</exclude>
|
2020-03-27 14:43:55 +08:00
|
|
|
<exclude>**/consistency/entity/**</exclude>
|
2020-06-12 16:05:58 +08:00
|
|
|
<exclude>**/*.txt</exclude>
|
|
|
|
<exclude>**/*.factories</exclude>
|
2020-11-30 19:14:12 +08:00
|
|
|
<exclude>/console-ui/**</exclude>
|
2021-03-31 17:23:47 +08:00
|
|
|
<exclude>**/gogo.proto</exclude>
|
|
|
|
<exclude>**/any.proto</exclude>
|
2018-10-01 11:19:53 +08:00
|
|
|
</excludes>
|
|
|
|
</configuration>
|
2020-06-12 16:05:58 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-resources-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<!-- We are not suppose to setup the customer resources here -->
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eluder.coveralls</groupId>
|
|
|
|
<artifactId>coveralls-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${coveralls-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jacoco-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<destFile>${project.build.directory}/jacoco.exec</destFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent-integration</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent-integration</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<destFile>${project.build.directory}/jacoco-it.exec</destFile>
|
|
|
|
<propertyName>failsafeArgLine</propertyName>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-report</id>
|
|
|
|
<goals>
|
|
|
|
<goal>report</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>default-report-integration</id>
|
|
|
|
<goals>
|
|
|
|
<goal>report-integration</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${findbugs-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${sonar-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
2020-05-29 16:35:48 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
|
|
</plugin>
|
2021-01-15 14:37:47 +08:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
<version>${maven-flatten-version}</version>
|
|
|
|
<configuration>
|
|
|
|
<updatePomFile>true</updatePomFile>
|
|
|
|
<flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
<pomElements>
|
|
|
|
<dependencies>expand</dependencies>
|
|
|
|
</pomElements>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>flatten</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>flatten</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
<phase>clean</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>clean</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
2019-08-13 21:41:26 +08:00
|
|
|
<id>jdk8</id>
|
2018-10-01 11:19:53 +08:00
|
|
|
<activation>
|
2019-08-13 21:41:26 +08:00
|
|
|
<jdk>[1.8,)</jdk>
|
2018-10-01 11:19:53 +08:00
|
|
|
</activation>
|
|
|
|
<!-- Disable doclint under JDK 8 -->
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>release-sign-artifacts</id>
|
|
|
|
<activation>
|
|
|
|
<property>
|
|
|
|
<name>performRelease</name>
|
|
|
|
<value>true</value>
|
|
|
|
</property>
|
|
|
|
</activation>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-19 15:41:47 +08:00
|
|
|
<properties>
|
|
|
|
<maven.javadoc.skip>false</maven.javadoc.skip>
|
|
|
|
</properties>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${maven-gpg-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>sign-artifacts</id>
|
|
|
|
<phase>verify</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>sign</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2020-06-08 23:38:53 +08:00
|
|
|
<!-- Run integration tests for configuration modules separately -->
|
|
|
|
<id>cit-test</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2021-04-23 18:36:02 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2020-06-08 23:38:53 +08:00
|
|
|
<configuration>
|
2021-04-23 18:36:02 +08:00
|
|
|
<testFailureIgnore>false</testFailureIgnore>
|
2020-06-08 23:38:53 +08:00
|
|
|
<includes>
|
|
|
|
<include>**/*CITCase.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<!-- Run integration tests for all modules separately -->
|
2021-04-23 18:36:02 +08:00
|
|
|
<id>nit-test</id>
|
2018-10-01 11:19:53 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
2021-04-23 18:36:02 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<configuration>
|
2021-04-23 18:36:02 +08:00
|
|
|
<testFailureIgnore>false</testFailureIgnore>
|
2018-10-01 11:19:53 +08:00
|
|
|
<includes>
|
2021-04-23 18:36:02 +08:00
|
|
|
<include>**/naming/*ITCase.java</include>
|
2018-10-01 11:19:53 +08:00
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>sonar-apache</id>
|
|
|
|
<properties>
|
|
|
|
<!-- URL of the ASF SonarQube server -->
|
|
|
|
<sonar.host.url>https://builds.apache.org/analysis</sonar.host.url>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2020-11-05 10:12:06 +08:00
|
|
|
<profile>
|
|
|
|
<id>remove-test-data</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<followSymLinks>false</followSymLinks>
|
|
|
|
<filesets>
|
|
|
|
<fileset>
|
|
|
|
<directory>${user.home}/nacos/data</directory>
|
|
|
|
</fileset>
|
|
|
|
</filesets>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2018-10-01 11:19:53 +08:00
|
|
|
</profiles>
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${findbugs-maven-plugin.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<!-- 子模块管理 -->
|
|
|
|
<modules>
|
|
|
|
<module>config</module>
|
|
|
|
<module>core</module>
|
|
|
|
<module>naming</module>
|
2019-07-01 23:08:08 +08:00
|
|
|
<module>address</module>
|
2018-10-01 11:19:53 +08:00
|
|
|
<module>test</module>
|
|
|
|
<module>api</module>
|
|
|
|
<module>client</module>
|
|
|
|
<module>example</module>
|
|
|
|
<module>common</module>
|
|
|
|
<module>distribution</module>
|
|
|
|
<module>console</module>
|
2018-11-22 20:31:53 +08:00
|
|
|
<module>cmdb</module>
|
2019-10-15 18:07:27 +08:00
|
|
|
<module>istio</module>
|
2020-03-26 12:06:35 +08:00
|
|
|
<module>consistency</module>
|
2020-08-12 19:15:58 +08:00
|
|
|
<module>auth</module>
|
2020-09-18 16:05:36 +08:00
|
|
|
<module>sys</module>
|
2018-10-01 11:19:53 +08:00
|
|
|
</modules>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<!-- 所有的子项目默认依赖 -->
|
|
|
|
<dependencies>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-08-23 16:39:58 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-07-07 10:02:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-inline</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependencies>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<!-- 管理依赖版本号,子项目不会默认依赖 -->
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<!-- Import dependency management from Spring Boot -->
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${spring-boot-dependencies.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- Internal libs -->
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-config</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-naming</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-api</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-test</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-12-03 17:56:11 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-cmdb</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-console</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-distribution</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-example</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-01-09 19:13:37 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-address</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2019-10-15 18:07:27 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-istio</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-03-26 12:06:35 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-consistency</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-08-12 19:15:58 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-auth</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-09-18 16:05:36 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>nacos-sys</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${servlet-api.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-03-26 12:06:35 +08:00
|
|
|
<!-- HikariCP -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
<artifactId>HikariCP</artifactId>
|
2020-05-29 19:01:48 +08:00
|
|
|
<version>${HikariCP.version}</version>
|
2020-03-26 12:06:35 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-04-13 16:13:49 +08:00
|
|
|
<!-- hessian -->
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-03-26 12:06:35 +08:00
|
|
|
<dependency>
|
2020-04-13 16:13:49 +08:00
|
|
|
<groupId>com.caucho</groupId>
|
|
|
|
<artifactId>hessian</artifactId>
|
|
|
|
<version>${hessian.version}</version>
|
2020-03-26 12:06:35 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- Apache commons -->
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-lang3.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-io.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-collections.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-logging.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
2018-10-01 12:15:21 +08:00
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-dbcp.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
<artifactId>commons-cli</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commons-cli.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- Logging libs -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${slf4j-api.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
2018-10-01 12:15:21 +08:00
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${logback.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
2018-10-01 12:15:21 +08:00
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${logback.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${log4j.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-07-03 09:22:44 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${log4j.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- HTTP client libs -->
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
2018-10-01 12:15:21 +08:00
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpasyncclient</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${httpasyncclient.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- JDBC libs -->
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${mysql-connector-java.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${derby.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-11 20:21:11 +08:00
|
|
|
<!-- JRaft -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alipay.sofa</groupId>
|
|
|
|
<artifactId>jraft-core</artifactId>
|
2020-05-29 19:01:48 +08:00
|
|
|
<version>${jraft-core.version}</version>
|
2020-05-11 20:21:11 +08:00
|
|
|
<exclusions>
|
2020-05-23 14:33:56 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>com.alipay.sofa</groupId>
|
|
|
|
<artifactId>bolt</artifactId>
|
|
|
|
</exclusion>
|
2020-05-11 20:21:11 +08:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-jcl</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-11 20:21:11 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.alipay.sofa</groupId>
|
|
|
|
<artifactId>rpc-grpc-impl</artifactId>
|
2020-05-29 19:01:48 +08:00
|
|
|
<version>${rpc-grpc-impl.version}</version>
|
2020-05-11 20:21:11 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<!-- Third-party libs -->
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib-nodep</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${cglib-nodep.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>net.jcip</groupId>
|
|
|
|
<artifactId>jcip-annotations</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jcip-annotations.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
2019-04-01 21:16:44 +08:00
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jackson-core.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2019-04-01 21:16:44 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jackson-databind.version}</version>
|
2019-04-01 21:16:44 +08:00
|
|
|
</dependency>
|
2021-03-17 17:55:54 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>${jackson.annotations.version}</version>
|
|
|
|
</dependency>
|
2018-10-01 12:15:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jackson-core-asl.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-12-24 02:07:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
2019-01-16 22:54:51 +08:00
|
|
|
<artifactId>jjwt-api</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jjwt.version}</version>
|
2019-01-16 22:54:51 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jjwt.version}</version>
|
2019-01-16 22:54:51 +08:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${jjwt.version}</version>
|
2019-01-16 22:54:51 +08:00
|
|
|
<scope>runtime</scope>
|
2018-12-24 02:07:48 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 12:15:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-all</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${netty-all.version}</version>
|
2018-10-01 12:15:21 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-11-19 10:34:40 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.mina</groupId>
|
|
|
|
<artifactId>mina-core</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${mina-core.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${guava.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2018-10-01 11:19:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.javatuples</groupId>
|
|
|
|
<artifactId>javatuples</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${javatuples.version}</version>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2019-05-24 15:19:02 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.keran213539</groupId>
|
|
|
|
<artifactId>commonOkHttp</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${commonOkHttp.version}</version>
|
2019-05-24 15:19:02 +08:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-17 23:13:40 +08:00
|
|
|
<!-- gRPC dependency start -->
|
2019-10-15 18:07:27 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
2020-05-14 20:35:32 +08:00
|
|
|
<artifactId>grpc-netty-shaded</artifactId>
|
2020-05-17 23:13:40 +08:00
|
|
|
<version>${grpc-java.version}</version>
|
2019-10-15 18:07:27 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-protobuf</artifactId>
|
2020-05-17 23:13:40 +08:00
|
|
|
<version>${grpc-java.version}</version>
|
2019-10-15 18:07:27 +08:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-stub</artifactId>
|
2020-05-17 23:13:40 +08:00
|
|
|
<version>${grpc-java.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>protoc-gen-grpc-java</artifactId>
|
|
|
|
<version>${grpc-java.version}</version>
|
|
|
|
<type>pom</type>
|
2019-10-15 18:07:27 +08:00
|
|
|
</dependency>
|
2021-07-02 17:45:45 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.grpc</groupId>
|
|
|
|
<artifactId>grpc-testing</artifactId>
|
|
|
|
<version>${grpc-java.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-15 18:07:27 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.api.grpc</groupId>
|
|
|
|
<artifactId>proto-google-common-protos</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${proto-google-common-protos.version}</version>
|
2019-10-15 18:07:27 +08:00
|
|
|
</dependency>
|
2020-05-17 23:13:40 +08:00
|
|
|
<!-- gRPC dependency end -->
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2019-10-22 17:05:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${protobuf-java.version}</version>
|
2019-10-22 17:05:48 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2019-12-11 19:25:33 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.reflections</groupId>
|
|
|
|
<artifactId>reflections</artifactId>
|
2020-05-29 00:02:19 +08:00
|
|
|
<version>${reflections.version}</version>
|
2019-12-11 19:25:33 +08:00
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 16:35:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<version>${mockito-all.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2021-03-30 10:16:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2021-07-07 10:02:01 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-inline</artifactId>
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2020-05-29 16:35:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<version>${hamcrest-all.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 16:35:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.prometheus</groupId>
|
|
|
|
<artifactId>simpleclient</artifactId>
|
|
|
|
<version>${prometheus-simpleclient.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 16:35:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
|
<version>${tomcat-embed-jasper.version}</version>
|
|
|
|
</dependency>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2020-05-29 16:35:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.truth</groupId>
|
|
|
|
<artifactId>truth</artifactId>
|
|
|
|
<version>${truth.version}</version>
|
|
|
|
</dependency>
|
2018-10-01 11:19:53 +08:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2020-11-30 19:14:12 +08:00
|
|
|
|
2021-03-10 11:18:37 +08:00
|
|
|
<distributionManagement>
|
|
|
|
<snapshotRepository>
|
|
|
|
<!-- 这里的ID一定要在maven setting文件中存在于server下的ID -->
|
|
|
|
<id>sona</id>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
<repository>
|
|
|
|
<id>sona</id>
|
|
|
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
2021-03-30 10:16:46 +08:00
|
|
|
|
2021-06-04 09:41:40 +08:00
|
|
|
|
2018-07-21 00:27:23 +08:00
|
|
|
</project>
|
2018-09-17 23:08:31 +08:00
|
|
|
|