8a54b1fc4c
* fix-#3595, delete the unnecessary code (#3596)
* [ISSUE #3566] move the permission code of nacos-core module to nacos-auth module (#3593)
* move the permission code of nacos-core module to nacos-auth module.
* Fix some code style issues
* address server module auth package name change.
* test change
* Incorrect package name correction
* [ISSUE #3592] Fix incorrect prompt when accessing the restricted namespace (#3603)
* Fix incorrect prompt when accessing the restricted namespace
* Modify variable name
* [ISSUE #3600] Replace the deprecated api of jwt (#3616)
* replace the deprecated api of jwt
* transfer secretKey to byte array just using String encode with utf-8
* [ISSUE #3613] Fix `unit test method not be static` & update publish config listener in `ConfigTest.java` (#3614)
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java`
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java`
* move jwt dependency from console,core to auth. (#3624)
* refactor: unified implementation of http client api adjustment. (#3639)
* [ISSUE #3628] set naming client updateTask interval more flexible (#3637)
* 1.use server cacheMillis event service deleted
2.naming client UpdateTask's interval will inc by failCount that connect with server
* 1.move failCount to updateTask
2.redefine the updateService method name. updateServiceNow -> updateService, wrap updateService in updateServiceNow when first getServiceInfo
* 1.create push client even service is not exist
2.serviceInfo's hosts is empty or can't connect to server both add the updateTsk interval
* format the indent
* fix: create kvstorage
* refactor: create kv storage]
* refactor: refactor rocksdb storage code
* Fix issue 3661 (#3662)
* improvement: merge upstream/develop
* feat: merge upstream develop
* fix: fix issue #3661
* [ISSUE#3658] refactor TaskManager and move to nacos-common module (#3663)
* Add TaskManagerTest
* Move Abstract Task and Task processor to nacos-common
* Add Nacos execute engine interface and nacos task interface
* Refactor Task Manager to NacosDelayTaskExecuteEngine
* for code style
* [ISSUE #3671] move some tools class into common package (#3672)
* for #3621 (#3668)
* [ISSUE#3315]Nacos client support https (#3654)
* [ISSUE #3315] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315] nacos client support https
* format code
* fix typo and doc format of README file (#3688)
1. It’s a little weird to use Chinese comma in English
2. Fix typo: change 'reposity' to 'repository', 'instance' to 'instances'
3. Format other details of the doc
* Try to fix nacos server CLOSE_WAIT (#3703)
* Fix revert chunk isn't work in Content Comparison page (#3686)
* fix: fixed cluster node version issue
* Fix Logging in with the wrong username or password will cause jackson serialization results to fail (#3695) (#3721)
* [ISSUE#3712] add apache http client factory (#3716)
* refactor: Add apache http client Factory.
* refactor: Add apache http client Factory.
* add license
* refactor: class name change
* [Issue#3692] Use new distro task engine replace old task dispatcher. (#3715)
* Add ServiceManagerTest
* Add DistroConsistencyServiceImplTest
* Add new distro entities
* Add new distro sync data change
* add new VerifyTask to do checksum.
* Replace old sync task and checksum task
* Add retry sync change task.
* Fix high cpu load
* For checkstyle
* Combine naming sync task to reduce http cost
* Move some classes
* Refactor keys combined logic
* enhance package construct
* Fix unit test
* For pmd
* [Issue #3692] Use new distro implmentation to handle sync datum and checksum request (#3734)
* Add receive data and verify data distro protocol interface
* Use new distro implmentation to handle sync datum and checksum request
* Use new distro implmentation to handle get datum request.
* refactor: adjust the data loading logic when a new protocol is started
* [ISSUE#3692] Use new distro implmentation to handle init all datum request. (#3744)
* Add load data task in DistroProtocol
* Use new distro implmentation to handle init all datum request.
* Fix unit test
* fix: #3617 (#3678)
* fix #3617
* 调整代码格式
* 修改抛出的Exception类型
* 调整逻辑
* 移除没用到的方法
* 修改注释
* [ISSUE#3658] Move distro sync code to nacos-core module (#3750)
* Move distro sync code to nacos-core module
* Update unit test
* feat: none
* fix: fixing serialization problems
* replace the deprecated api com.fasterxml.jackson.databind.node.ObjectNode#put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)
* Revert "[#3368]Cancel empty Long polling thread to improve performance. (#ISSUE3432)" (#3778)
This reverts commit 95c8bf242b
.
* [ISSUE #3658] Some enhance refactor for naming distro (#3765)
* Some enhance refactor for naming distro
* Remove null code
* [ISSUE #3687] check serviceName's format(groupName@@serviceName) in server and client (#3767)
* 1.in server, check serviceName's format 'groupName@@serviceName', groupName and serviceName can't be blank
2.in client, check 'groupName@@serviceName', groupName and serviceName can't be blank
* ignore the check to groupName
* check split's length instead of exception to check argument
* 1.add some notes
2.remove unnecessary code
* modify the notes
* [ISSUE#3790] Supplement http response Content-Encoding processing. (#3791)
* bug: fix issue #3790, Supplement http response Content-Encoding processing
* bug: fix issue #3790, Supplement http response Content-Encoding processing.
* bug: fix issue #3790, Supplement http response Content-Encoding processing.
* Update ConvertUtils.java (#3789)
* fix ConvertUtils can not handle FormatException.
* fix: fixed some logic errors
* [ISSUE#3192] naming module replace http client (#3763)
* naming module replace http client
* refactor: naming module replace http client.
* refactor: naming module replace http client.
* refactor: Add apache http client Factory.
* refactor: naming module replace http client.
* fix code style
* refactor: Add http client config
* refactor: naming module HttpClientManager change
* refactor: naming module HttpClientManager change
* refactor: naming module replace http client.
* fix code style
* refactor: fix JDK http client Use error problem.
* refactor: Query And Header entity init Add non-empty judgment
* Enhance the asynchronous http delete request method to support body passing parameters.
* refactor: apache http client set MaxConnTotal and maxConnPerRoute.
* Fix NullPointerException when no subscriber for slow event (#3835)
* Set mediaType charset as utf8 (#3837)
* Fix code style problem in DiskUtils (#3842)
* Fix http client contentType charset problem (#3848)
* feature issue #3804 (#3805)
* improvement: merge upstream/develop
* feat: merge upstream develop
* feat: manage the loading of configuration files uniformly
* fix: fix copyright style
* style: fix code style
* fix: fix code style
* bug: fix the problem of incorrect judgment of http response code in SubscribeManager#getSubscribers() method (#3879)
* [ISSUE #3867] replace the way which get version (#3872)
* replace the way which get version
* remove version sign application.properties in nacos-api
* [ISSUE #3871] fix description don't match the error (#3886)
* Fix jraft problem
* Fix chinese string are truncated in ConcunrrentDiskUtil (#3883)
* Temp fix raft server can't refresh raft configuration problem
* update spring boot dependencies version (#3900)
Co-authored-by: yanlinly <yan.lin2009@163.com>
Co-authored-by: 杨翊 SionYang <263976490@qq.com>
* [ISSUE #3781]Fix service list intermittently lost service (#3891)
* update service init
* commit futureMap.remove()
* update serviceManager
Co-authored-by: yanlinly <yan.lin2009@163.com>
Co-authored-by: 杨翊 SionYang <263976490@qq.com>
* Fix Listener do not listen new consistency problem
* Fix Performance logger thread call old raft error
* Use datum in new raft processor to compatible old data
* Use multiple kv storage in new raft processor to compatible old data
* Revert PR#2849.
* Move datum key check to KeyBuilder
* Fix 1.3.2 upgrade 1.4.0 can't notify service change problem
* [ISSUE #3850] ignore socket exception when client destroy already (#3906)
* if client destroy already, ignore socket exception.
* remove the exception's judgement
* remove unuseful import
* fix: fix merge conflict
* isAddressServerHealth set as true when request success (#3952)
* [ISSUE#3533] change cache dir with namespace -- part 1: unify the cache dir (#3859)
* [ISSUE#3533] change cache dir with namespace -- part 2: unify the log dir (#3882)
* fix typo error (#3954)
* [ISSUE #3909] add domain's judgement (#3913)
* add domain's judgement
* modify domain's judgement, can resolve = true
* remove judgement in 'if' code block
* replace Ip to IP in InetUtils
* log warn info when domain can not be resolved
* fix vaiable name
* 1.fix unit test can't pass (#3956)
2.update the unit test
* Move remove listener logic to ServiceManager
* Move remove listener logic to ServiceManager
* Fix#3973 (#3974)
* fix #3973
* 重复代码抽取到一个方法
* 删除私有方法的注释
* 处理namespace参数的方法提出到一个工具类中
* 修改注释
* 添加licences
* 增加 TenantUtil 的测试
* TenantUtil 改名为 NamespaceUtil
* For #3384, Fix member extend info do not update error. (#3982)
* refactor: code refactor
Co-authored-by: 赵延 <1060026287@qq.com>
Co-authored-by: mai.jh <maijh97@gmail.com>
Co-authored-by: ljhrot <296093710@qq.com>
Co-authored-by: Xarrow <zhangjian12424@gmail.com>
Co-authored-by: 杨翊 SionYang <263976490@qq.com>
Co-authored-by: Gagharv <wwfortunate@gmail.com>
Co-authored-by: syapollo <34880947+syapollo@users.noreply.github.com>
Co-authored-by: S2W <joexsue@foxmail.com>
Co-authored-by: Tboy <technotboy@yeah.net>
Co-authored-by: 邪影oO <213539@qq.com>
Co-authored-by: yanlinly <yan.lin2009@163.com>
Co-authored-by: Mark4z <36187602+mark4z@users.noreply.github.com>
Co-authored-by: Marcus <anymre@outlook.com>
Co-authored-by: shizhengxing <798187024@qq.com>
Co-authored-by: ljhrot <ljhrot@qq.com>
Co-authored-by: sanxun0325 <bbz17640380550@163.com>
Co-authored-by: JackSun-Developer <sjtusl@163.com>
1050 lines
42 KiB
XML
1050 lines
42 KiB
XML
<?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="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>
|
|
<inceptionYear>2018</inceptionYear>
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
<artifactId>nacos-all</artifactId>
|
|
<version>1.4.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
<tag>nacos-all-1.4.0-SNAPSHOT</tag>
|
|
</scm>
|
|
|
|
<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>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>Alibaba Nacos</id>
|
|
<name>Nacos</name>
|
|
<url>http://nacos.io</url>
|
|
<email>nacos_dev@linux.alibaba.com</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<organization>
|
|
<name>Alibaba Group</name>
|
|
<url>https://github.com/alibaba</url>
|
|
</organization>
|
|
|
|
<issueManagement>
|
|
<system>github</system>
|
|
<url>https://github.com/alibaba/nacos/issues</url>
|
|
</issueManagement>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<!-- Compiler settings properties -->
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
<!-- Maven properties -->
|
|
<maven.test.skip>false</maven.test.skip>
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
<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>
|
|
|
|
<!-- 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>
|
|
<maven-assembly-plugin.version>3.0.0</maven-assembly-plugin.version>
|
|
<maven-checkstyle-plugin.version>3.1.1</maven-checkstyle-plugin.version>
|
|
<!-- 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>
|
|
|
|
<!-- dependency version -->
|
|
<spring-boot-dependencies.version>2.1.17.RELEASE</spring-boot-dependencies.version>
|
|
<servlet-api.version>3.0</servlet-api.version>
|
|
<commons-lang.version>2.6</commons-lang.version>
|
|
<commons-lang3.version>3.4</commons-lang3.version>
|
|
<commons-io.version>2.2</commons-io.version>
|
|
<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>
|
|
<log4j.version>2.13.3</log4j.version>
|
|
<httpcore.version>4.4.1</httpcore.version>
|
|
<httpclient.version>4.5</httpclient.version>
|
|
<httpasyncclient.version>4.1.3</httpasyncclient.version>
|
|
<async-http-client.version>1.7.17</async-http-client.version>
|
|
<mysql-connector-java.version>8.0.16</mysql-connector-java.version>
|
|
<derby.version>10.14.2.0</derby.version>
|
|
<cglib-nodep.version>2.1</cglib-nodep.version>
|
|
<jcip-annotations.version>1.0</jcip-annotations.version>
|
|
<jackson-core.version>2.10.4</jackson-core.version>
|
|
<jackson-databind.version>2.10.4</jackson-databind.version>
|
|
<jackson-core-asl.version>1.9.13</jackson-core-asl.version>
|
|
<jjwt.version>0.11.2</jjwt.version>
|
|
<netty-all.version>4.1.42.Final</netty-all.version>
|
|
<netty-common.version>4.1.31.Final</netty-common.version>
|
|
<mina-core.version>2.0.0-RC1</mina-core.version>
|
|
<guava.version>24.1.1-jre</guava.version>
|
|
<javatuples.version>1.2</javatuples.version>
|
|
<commonOkHttp.version>0.4.1</commonOkHttp.version>
|
|
<grpc-java.version>1.24.0</grpc-java.version>
|
|
<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>
|
|
<hessian.version>4.0.63</hessian.version>
|
|
<reflections.version>0.9.11</reflections.version>
|
|
<mockito-all.version>1.10.19</mockito-all.version>
|
|
<hamcrest-all.version>1.3</hamcrest-all.version>
|
|
<prometheus-simpleclient.version>0.5.0</prometheus-simpleclient.version>
|
|
<tomcat-embed-jasper.version>9.0.37</tomcat-embed-jasper.version>
|
|
<truth.version>0.30</truth.version>
|
|
<HikariCP.version>3.4.2</HikariCP.version>
|
|
<jraft-core.version>1.3.2</jraft-core.version>
|
|
<rpc-grpc-impl.version>1.3.2</rpc-grpc-impl.version>
|
|
</properties>
|
|
<!-- == -->
|
|
<!-- =========================================================Build plugins================================================ -->
|
|
<!-- == -->
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>${versions-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.github.vongosling</groupId>
|
|
<artifactId>dependency-mediator-maven-plugin</artifactId>
|
|
<version>${dependency-mediator-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>clirr-maven-plugin</artifactId>
|
|
<version>${clirr-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
<version>${maven-enforcer-plugin.version}</version>
|
|
<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>
|
|
<version>${extra-enforcer-rules.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
<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>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<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>
|
|
<version>${maven-source-plugin.version}</version>
|
|
<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>
|
|
<version>${maven-pmd-plugin.version}</version>
|
|
<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>
|
|
<excludes>
|
|
<exclude>**/consistency/entity/*.java</exclude>
|
|
<exclude>**/istio/model/mcp/*.java</exclude>
|
|
<exclude>**/istio/model/naming/*.java</exclude>
|
|
<exclude>**/istio/model/*.java</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.alibaba.p3c</groupId>
|
|
<artifactId>p3c-pmd</artifactId>
|
|
<version>${p3c-pmd.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<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>
|
|
<excludes>**/istio/model/**,**/nacos/test/**</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>validate</id>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<version>${apache-rat-plugin.version}</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>.editorconfig</exclude>
|
|
<exclude>.travis.yml</exclude>
|
|
<exclude>CONTRIBUTING.md</exclude>
|
|
<exclude>CODE_OF_CONDUCT.md</exclude>
|
|
<exclude>CHANGELOG.md</exclude>
|
|
<exclude>style/codeStyle.md</exclude>
|
|
<exclude>REPORTING-BUGS.md</exclude>
|
|
<exclude>README.md</exclude>
|
|
<exclude>.github/**/*</exclude>
|
|
<exclude>doc/*</exclude>
|
|
<exclude>derby.log</exclude>
|
|
<exclude>logs/*</exclude>
|
|
<exclude>src/main/resources/static/**</exclude>
|
|
<exclude>**/istio/model/**</exclude>
|
|
<exclude>**/consistency/entity/**</exclude>
|
|
<exclude>**/*.txt</exclude>
|
|
<exclude>**/*.factories</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>${maven-resources-plugin.version}</version>
|
|
<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>
|
|
<version>${coveralls-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<version>${jacoco-maven-plugin.version}</version>
|
|
<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>
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<reuseForks>true</reuseForks>
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>${findbugs-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.sonarsource.scanner.maven</groupId>
|
|
<artifactId>sonar-maven-plugin</artifactId>
|
|
<version>${sonar-maven-plugin.version}</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>${maven-assembly-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>jdk8</id>
|
|
<activation>
|
|
<jdk>[1.8,)</jdk>
|
|
</activation>
|
|
<!-- Disable doclint under JDK 8 -->
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<configuration>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
<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>
|
|
|
|
<properties>
|
|
<maven.javadoc.skip>false</maven.javadoc.skip>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>${maven-gpg-plugin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<!-- Run integration tests for configuration modules separately -->
|
|
<id>cit-test</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
<configuration>
|
|
<argLine>@{failsafeArgLine}</argLine>
|
|
<argLine>-Dnacos.standalone=true</argLine>
|
|
<includes>
|
|
<include>**/*CITCase.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<!-- Run integration tests for all modules separately -->
|
|
<id>it-test</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>${maven-failsafe-plugin.version}</version>
|
|
<configuration>
|
|
<argLine>@{failsafeArgLine}</argLine>
|
|
<argLine>-Dnacos.standalone=true</argLine>
|
|
<includes>
|
|
<include>**/*ITCase.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>
|
|
</profiles>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>${findbugs-maven-plugin.version}</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<!-- 子模块管理 -->
|
|
<modules>
|
|
<module>config</module>
|
|
<module>core</module>
|
|
<module>naming</module>
|
|
<module>address</module>
|
|
<module>test</module>
|
|
<module>api</module>
|
|
<module>client</module>
|
|
<module>example</module>
|
|
<module>common</module>
|
|
<module>distribution</module>
|
|
<module>console</module>
|
|
<module>cmdb</module>
|
|
<module>istio</module>
|
|
<module>consistency</module>
|
|
<module>auth</module>
|
|
<module>sys</module>
|
|
</modules>
|
|
|
|
<!-- 所有的子项目默认依赖 -->
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<!-- 管理依赖版本号,子项目不会默认依赖 -->
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<!-- Import dependency management from Spring Boot -->
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
<version>${spring-boot-dependencies.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<!-- Internal libs -->
|
|
<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>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-cmdb</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<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>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-address</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-istio</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-consistency</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-auth</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>nacos-sys</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- HikariCP -->
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
<version>${HikariCP.version}</version>
|
|
</dependency>
|
|
|
|
<!-- hessian -->
|
|
|
|
<dependency>
|
|
<groupId>com.caucho</groupId>
|
|
<artifactId>hessian</artifactId>
|
|
<version>${hessian.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>${commons-lang.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Apache commons -->
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>${commons-lang3.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commons-io.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-collections</groupId>
|
|
<artifactId>commons-collections</artifactId>
|
|
<version>${commons-collections.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>${commons-logging.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-dbcp</groupId>
|
|
<artifactId>commons-dbcp</artifactId>
|
|
<version>${commons-dbcp.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-cli</groupId>
|
|
<artifactId>commons-cli</artifactId>
|
|
<version>${commons-cli.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Logging libs -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j-api.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
<version>${logback.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>${log4j.version}</version>
|
|
</dependency>
|
|
|
|
<!-- HTTP client libs -->
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>${httpcore.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>${httpclient.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpasyncclient</artifactId>
|
|
<version>${httpasyncclient.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.ning</groupId>
|
|
<artifactId>async-http-client</artifactId>
|
|
<version>${async-http-client.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JDBC libs -->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql-connector-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.derby</groupId>
|
|
<artifactId>derby</artifactId>
|
|
<version>${derby.version}</version>
|
|
</dependency>
|
|
|
|
<!-- JRaft -->
|
|
<dependency>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>jraft-core</artifactId>
|
|
<version>${jraft-core.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>bolt</artifactId>
|
|
</exclusion>
|
|
<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>
|
|
|
|
<dependency>
|
|
<groupId>com.alipay.sofa</groupId>
|
|
<artifactId>rpc-grpc-impl</artifactId>
|
|
<version>${rpc-grpc-impl.version}</version>
|
|
</dependency>
|
|
|
|
<!-- Third-party libs -->
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>${cglib-nodep.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.jcip</groupId>
|
|
<artifactId>jcip-annotations</artifactId>
|
|
<version>${jcip-annotations.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>${jackson-core.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson-databind.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
<version>${jackson-core-asl.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-api</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-impl</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
<version>${jjwt.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-all</artifactId>
|
|
<version>${netty-all.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty-common</artifactId>
|
|
<version>${netty-common.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.mina</groupId>
|
|
<artifactId>mina-core</artifactId>
|
|
<version>${mina-core.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.javatuples</groupId>
|
|
<artifactId>javatuples</artifactId>
|
|
<version>${javatuples.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.keran213539</groupId>
|
|
<artifactId>commonOkHttp</artifactId>
|
|
<version>${commonOkHttp.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- gRPC dependency start -->
|
|
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-netty-shaded</artifactId>
|
|
<version>${grpc-java.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-protobuf</artifactId>
|
|
<version>${grpc-java.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.grpc</groupId>
|
|
<artifactId>grpc-stub</artifactId>
|
|
<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>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.api.grpc</groupId>
|
|
<artifactId>proto-google-common-protos</artifactId>
|
|
<version>${proto-google-common-protos.version}</version>
|
|
</dependency>
|
|
|
|
<!-- gRPC dependency end -->
|
|
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>${protobuf-java.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.reflections</groupId>
|
|
<artifactId>reflections</artifactId>
|
|
<version>${reflections.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>${mockito-all.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>${hamcrest-all.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.prometheus</groupId>
|
|
<artifactId>simpleclient</artifactId>
|
|
<version>${prometheus-simpleclient.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
<version>${tomcat-embed-jasper.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.truth</groupId>
|
|
<artifactId>truth</artifactId>
|
|
<version>${truth.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<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>
|
|
</project>
|
|
|