Remove unused dependency (#13554)

Signed-off-by: crazyhzm <crazyhzm@gmail.com>
This commit is contained in:
huazhongming 2023-12-22 10:25:53 +08:00 committed by GitHub
parent cb8d7a36f9
commit f7a32be429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 0 additions and 453 deletions

View File

@ -38,7 +38,6 @@ header:
- '**/*.fc' - '**/*.fc'
- '**/*.javascript' - '**/*.javascript'
- '**/*.properties' - '**/*.properties'
- '**/*.thrift'
- '**/*.sh' - '**/*.sh'
- '**/*.bat' - '**/*.bat'
- '**/*.md' - '**/*.md'

View File

@ -32,4 +32,3 @@ ignore:
- "**/dubbo-native-plugin/**" - "**/dubbo-native-plugin/**"
- "**/dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" # internal JSON impl is deprecate, ignore test coverage for them - "**/dubbo-common/src/main/java/org/apache/dubbo/common/json/*.java" # internal JSON impl is deprecate, ignore test coverage for them
- "**/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated - "**/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/AnnotationBean.java" # Deprecated
- "**/dubbo-rpc/dubbo-rpc-thrift/**"

View File

@ -32,7 +32,6 @@ import static org.apache.dubbo.common.utils.PathUtils.normalize;
* <ul> * <ul>
* <li>{@link FileSystemDynamicConfiguration "file"}</li> * <li>{@link FileSystemDynamicConfiguration "file"}</li>
* <li>{@link org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration "zookeeper"}</li> * <li>{@link org.apache.dubbo.configcenter.support.zookeeper.ZookeeperDynamicConfiguration "zookeeper"}</li>
* <li>{@link org.apache.dubbo.configcenter.consul.ConsulDynamicConfiguration "consul"}</li>
* </ul> * </ul>
* *
* @see DynamicConfiguration * @see DynamicConfiguration

View File

@ -130,7 +130,6 @@ org.apache.commons.fileupload
org.apache.commons.jelly. org.apache.commons.jelly.
org.apache.commons.logging. org.apache.commons.logging.
org.apache.commons.proxy. org.apache.commons.proxy.
org.apache.cxf.jaxrs.provider.
org.apache.hadoop.shaded.com.zaxxer.hikari. org.apache.hadoop.shaded.com.zaxxer.hikari.
org.apache.http.auth. org.apache.http.auth.
org.apache.http.conn. org.apache.http.conn.

View File

@ -115,7 +115,6 @@ class EnableDubboConfigTest {
configManager.getProtocol("dubbo").get(); configManager.getProtocol("dubbo").get();
configManager.getProtocol("rest").get(); configManager.getProtocol("rest").get();
configManager.getProtocol("thrift").get();
// asserts aliases // asserts aliases
// assertTrue(hasAlias(context, "applicationBean2", "dubbo-demo-application2")); // assertTrue(hasAlias(context, "applicationBean2", "dubbo-demo-application2"));

View File

@ -20,7 +20,6 @@ dubbo.protocol.name = dubbo
dubbo.protocol.port = 20880 dubbo.protocol.port = 20880
dubbo.protocols.rest.port=8080 dubbo.protocols.rest.port=8080
dubbo.protocols.thrift.port=9090
## monitor ## monitor
dubbo.monitor.address = zookeeper://127.0.0.1:32770 dubbo.monitor.address = zookeeper://127.0.0.1:32770

View File

@ -1,55 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package org.apache.dubbo.config.bootstrap;
import org.apache.dubbo.config.bootstrap.rest.UserService;
import static org.apache.dubbo.common.constants.CommonConstants.DEFAULT_METADATA_STORAGE_TYPE;
/**
* Dubbo Provider Bootstrap
*
* @since 2.7.5
*/
public class ConsulDubboServiceConsumerBootstrap {
public static void main(String[] args) throws Exception {
DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application("consul-dubbo-consumer", app -> app.metadata(DEFAULT_METADATA_STORAGE_TYPE))
.registry("zookeeper", builder -> builder.address(
"consul://127.0.0.1:8500?registry-type=service&subscribed-services=consul-dubbo-provider")
.useAsConfigCenter(true)
.useAsMetadataCenter(true))
.reference("echo", builder -> builder.interfaceClass(EchoService.class)
.protocol("dubbo"))
.reference("user", builder -> builder.interfaceClass(UserService.class)
.protocol("rest"))
.start();
EchoService echoService = bootstrap.getCache().get(EchoService.class);
UserService userService = bootstrap.getCache().get(UserService.class);
for (int i = 0; i < 5; i++) {
Thread.sleep(2000L);
System.out.println(echoService.echo("Hello,World"));
System.out.println(userService.getUser(i * 1L));
}
bootstrap.stop();
}
}

View File

@ -1,46 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package org.apache.dubbo.config.bootstrap;
import org.apache.dubbo.config.bootstrap.rest.UserService;
import org.apache.dubbo.config.bootstrap.rest.UserServiceImpl;
import static org.apache.dubbo.common.constants.CommonConstants.DEFAULT_METADATA_STORAGE_TYPE;
/**
* TODO
*/
public class ConsulDubboServiceProviderBootstrap {
public static void main(String[] args) {
DubboBootstrap.getInstance()
.application("consul-dubbo-provider", app -> app.metadata(DEFAULT_METADATA_STORAGE_TYPE))
.registry(builder -> builder.address("consul://127.0.0.1:8500?registry-type=service")
.useAsConfigCenter(true)
.useAsMetadataCenter(true))
.protocol("dubbo", builder -> builder.port(-1).name("dubbo"))
.protocol("rest", builder -> builder.port(8081).name("rest"))
.service("echo", builder -> builder.interfaceClass(EchoService.class)
.ref(new EchoServiceImpl())
.protocolIds("dubbo"))
.service("user", builder -> builder.interfaceClass(UserService.class)
.ref(new UserServiceImpl())
.protocolIds("rest"))
.start()
.await();
}
}

View File

@ -32,24 +32,11 @@ public class DubboServiceConsumerBootstrap {
DubboBootstrap bootstrap = DubboBootstrap.getInstance() DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application("dubbo-consumer-demo") .application("dubbo-consumer-demo")
.protocol(builder -> builder.port(20887).name("dubbo")) .protocol(builder -> builder.port(20887).name("dubbo"))
// Eureka
// .registry(builder ->
// builder.address("eureka://127.0.0.1:8761?registry-type=service&subscribed-services=dubbo-provider-demo"))
// Zookeeper
.registry( .registry(
"zookeeper", "zookeeper",
builder -> builder.address(ZookeeperRegistryCenterConfig.getConnectionAddress() builder -> builder.address(ZookeeperRegistryCenterConfig.getConnectionAddress()
+ "?registry-type=service&subscribed-services=dubbo-provider-demo")) + "?registry-type=service&subscribed-services=dubbo-provider-demo"))
.metadataReport(new MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress())) .metadataReport(new MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress()))
// Nacos
// .registry("nacos", builder ->
// builder.address("nacos://127.0.0.1:8848?registry.type=service&subscribed.services=dubbo-provider-demo"))
// Consul
// .registry("consul", builder ->
// builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo").group("namespace1"))
.reference("echo", builder -> builder.interfaceClass(EchoService.class) .reference("echo", builder -> builder.interfaceClass(EchoService.class)
.protocol("dubbo")) .protocol("dubbo"))
.reference("user", builder -> builder.interfaceClass(UserService.class) .reference("user", builder -> builder.interfaceClass(UserService.class)

View File

@ -55,27 +55,17 @@ public class DubboServiceProviderBootstrap {
ServiceConfig<EchoService> echoService = new ServiceConfig<>(); ServiceConfig<EchoService> echoService = new ServiceConfig<>();
echoService.setInterface(EchoService.class.getName()); echoService.setInterface(EchoService.class.getName());
echoService.setRef(new EchoServiceImpl()); echoService.setRef(new EchoServiceImpl());
// echoService.setRegistries(Arrays.asList(interfaceRegistry, serviceRegistry));
ServiceConfig<UserService> userService = new ServiceConfig<>(); ServiceConfig<UserService> userService = new ServiceConfig<>();
userService.setInterface(UserService.class.getName()); userService.setInterface(UserService.class.getName());
userService.setRef(new UserServiceImpl()); userService.setRef(new UserServiceImpl());
userService.setProtocol(restProtocol); userService.setProtocol(restProtocol);
// userService.setRegistries(Arrays.asList(interfaceRegistry, serviceRegistry));
ApplicationConfig applicationConfig = new ApplicationConfig("dubbo-provider-demo"); ApplicationConfig applicationConfig = new ApplicationConfig("dubbo-provider-demo");
applicationConfig.setMetadataType("remote"); applicationConfig.setMetadataType("remote");
DubboBootstrap.getInstance() DubboBootstrap.getInstance()
.application(applicationConfig) .application(applicationConfig)
// Zookeeper in service registry type
// .registry("zookeeper", builder ->
// builder.address("zookeeper://127.0.0.1:2181?registry.type=service"))
// Nacos
// .registry("zookeeper", builder ->
// builder.address("nacos://127.0.0.1:8848?registry.type=service"))
.registries(Arrays.asList(interfaceRegistry, serviceRegistry)) .registries(Arrays.asList(interfaceRegistry, serviceRegistry))
//
// .registry(RegistryBuilder.newBuilder().address("consul://127.0.0.1:8500?registry.type=service").build())
.protocol(builder -> builder.port(-1).name("dubbo")) .protocol(builder -> builder.port(-1).name("dubbo"))
.metadataReport(new MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress())) .metadataReport(new MetadataReportConfig(ZookeeperRegistryCenterConfig.getConnectionAddress()))
.service(echoService) .service(echoService)

View File

@ -30,7 +30,6 @@ public class DubboServiceProviderMinimumBootstrap {
.application("dubbo-provider-demo") .application("dubbo-provider-demo")
.registry(builder -> builder.address( .registry(builder -> builder.address(
ZookeeperRegistryCenterConfig.getConnectionAddress() + "?registry-type=service")) ZookeeperRegistryCenterConfig.getConnectionAddress() + "?registry-type=service"))
// .registry(builder -> builder.address("eureka://127.0.0.1:8761?registry-type=service"))
.protocol(builder -> builder.port(-1).name("dubbo")) .protocol(builder -> builder.port(-1).name("dubbo"))
.service("echo", builder -> builder.interfaceClass(EchoService.class) .service("echo", builder -> builder.interfaceClass(EchoService.class)
.ref(new EchoServiceImpl())) .ref(new EchoServiceImpl()))

View File

@ -1,56 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package org.apache.dubbo.config.bootstrap;
import org.apache.dubbo.config.MetadataReportConfig;
import org.apache.dubbo.config.bootstrap.rest.UserService;
/**
* Dubbo Provider Bootstrap
*
* @since 2.7.5
*/
public class EtcdDubboServiceConsumerBootstrap {
public static void main(String[] args) throws Exception {
DubboBootstrap bootstrap = DubboBootstrap.getInstance()
.application("dubbo-consumer-demo")
// Zookeeper
.protocol(builder -> builder.port(20887).name("dubbo"))
.registry(
"etcd3",
builder -> builder.address(
"etcd3://127.0.0.1:2379?registry-type=service&subscribed-services=dubbo-provider-demo"))
.metadataReport(new MetadataReportConfig("etcd://127.0.0.1:2379"))
// Nacos
// .registry("consul", builder ->
// builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo").group("namespace1"))
.reference("echo", builder -> builder.interfaceClass(EchoService.class)
.protocol("dubbo"))
.reference("user", builder -> builder.interfaceClass(UserService.class)
.protocol("rest"))
.start();
EchoService echoService = bootstrap.getCache().get(EchoService.class);
for (int i = 0; i < 500; i++) {
Thread.sleep(2000L);
System.out.println(echoService.echo("Hello,World"));
}
}
}

View File

@ -1,90 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.
*/
package org.apache.dubbo.config.bootstrap;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.ProtocolConfig;
import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.ServiceConfig;
import org.apache.dubbo.config.bootstrap.rest.UserService;
import org.apache.dubbo.config.bootstrap.rest.UserServiceImpl;
import java.util.Arrays;
/**
* Dubbo Provider Bootstrap
*
* @since 2.7.5
*/
public class EtcdDubboServiceProviderBootstrap {
public static void main(String[] args) {
multipleRegistries();
}
private static void multipleRegistries() {
ProtocolConfig restProtocol = new ProtocolConfig();
restProtocol.setName("rest");
restProtocol.setId("rest");
restProtocol.setPort(-1);
RegistryConfig interfaceRegistry = new RegistryConfig();
interfaceRegistry.setId("interfaceRegistry");
interfaceRegistry.setAddress("etcd3://127.0.0.1:2379");
RegistryConfig serviceRegistry = new RegistryConfig();
serviceRegistry.setId("serviceRegistry");
serviceRegistry.setAddress("etcd3://127.0.0.1:2379?registry-type=service");
ServiceConfig<EchoService> echoService = new ServiceConfig<>();
echoService.setInterface(EchoService.class.getName());
echoService.setRef(new EchoServiceImpl());
// echoService.setRegistries(Arrays.asList(interfaceRegistry, serviceRegistry));
ServiceConfig<UserService> userService = new ServiceConfig<>();
userService.setInterface(UserService.class.getName());
userService.setRef(new UserServiceImpl());
userService.setProtocol(restProtocol);
// userService.setRegistries(Arrays.asList(interfaceRegistry, serviceRegistry));
ApplicationConfig applicationConfig = new ApplicationConfig("dubbo-provider-demo");
// applicationConfig.setMetadataType("remote");
DubboBootstrap.getInstance()
.application(applicationConfig)
// Zookeeper in service registry type
// .registry("zookeeper", builder ->
// builder.address("zookeeper://127.0.0.1:2181?registry.type=service"))
// Nacos
// .registry("zookeeper", builder ->
// builder.address("nacos://127.0.0.1:8848?registry.type=service"))
.registries(Arrays.asList(interfaceRegistry, serviceRegistry))
//
// .registry(RegistryBuilder.newBuilder().address("consul://127.0.0.1:8500?registry.type=service").build())
.protocol(builder -> builder.port(-1).name("dubbo"))
// .metadataReport(new MetadataReportConfig("etcd://127.0.0.1:2379"))
.service(echoService)
.service(userService)
.start()
.await();
}
private static void testSCCallDubbo() {}
private static void testDubboCallSC() {}
private static void testDubboTansormation() {}
}

View File

@ -38,9 +38,6 @@ public class DubboInterfaceConsumerBootstrap {
.application("dubbo-consumer-demo") .application("dubbo-consumer-demo")
// Zookeeper // Zookeeper
.registry(interfaceRegistry) .registry(interfaceRegistry)
// Nacos
// .registry("consul", builder ->
// builder.address("consul://127.0.0.1:8500?registry.type=service&subscribed.services=dubbo-provider-demo"))
.reference("echo", builder -> builder.interfaceClass(EchoService.class) .reference("echo", builder -> builder.interfaceClass(EchoService.class)
.protocol("dubbo")) .protocol("dubbo"))
.reference("user", builder -> builder.interfaceClass(UserService.class) .reference("user", builder -> builder.interfaceClass(UserService.class)

View File

@ -115,7 +115,6 @@ class EnableDubboConfigTest {
configManager.getProtocol("dubbo").get(); configManager.getProtocol("dubbo").get();
configManager.getProtocol("rest").get(); configManager.getProtocol("rest").get();
configManager.getProtocol("thrift").get();
// asserts aliases // asserts aliases
// assertTrue(hasAlias(context, "applicationBean2", "dubbo-demo-application2")); // assertTrue(hasAlias(context, "applicationBean2", "dubbo-demo-application2"));

View File

@ -96,8 +96,6 @@
<bytebuddy.version>1.14.10</bytebuddy.version> <bytebuddy.version>1.14.10</bytebuddy.version>
<netty_version>3.2.10.Final</netty_version> <netty_version>3.2.10.Final</netty_version>
<netty4_version>4.1.104.Final</netty4_version> <netty4_version>4.1.104.Final</netty4_version>
<mina_version>2.2.3</mina_version>
<grizzly_version>2.4.4</grizzly_version>
<httpclient_version>4.5.14</httpclient_version> <httpclient_version>4.5.14</httpclient_version>
<httpcore_version>4.4.16</httpcore_version> <httpcore_version>4.4.16</httpcore_version>
<fastjson_version>1.2.83</fastjson_version> <fastjson_version>1.2.83</fastjson_version>
@ -106,12 +104,6 @@
<curator_version>5.1.0</curator_version> <curator_version>5.1.0</curator_version>
<curator_test_version>2.12.0</curator_test_version> <curator_test_version>2.12.0</curator_test_version>
<jedis_version>3.10.0</jedis_version> <jedis_version>3.10.0</jedis_version>
<consul_version>1.4.5</consul_version>
<consul_process_version>2.2.1</consul_process_version>
<consul_client_version>1.5.3</consul_client_version>
<xmemcached_version>1.4.3</xmemcached_version>
<cxf_version>3.6.2</cxf_version>
<thrift_version>0.19.0</thrift_version>
<hessian_version>4.0.66</hessian_version> <hessian_version>4.0.66</hessian_version>
<protobuf-java_version>3.25.1</protobuf-java_version> <protobuf-java_version>3.25.1</protobuf-java_version>
<javax_annotation-api_version>1.3.2</javax_annotation-api_version> <javax_annotation-api_version>1.3.2</javax_annotation-api_version>
@ -123,14 +115,9 @@
<hibernate_validator_new_version>7.0.5.Final</hibernate_validator_new_version> <hibernate_validator_new_version>7.0.5.Final</hibernate_validator_new_version>
<jel_version>3.0.1-b12</jel_version> <jel_version>3.0.1-b12</jel_version>
<jcache_version>1.1.1</jcache_version> <jcache_version>1.1.1</jcache_version>
<kryo_version>4.0.3</kryo_version>
<kryo_serializers_version>0.45</kryo_serializers_version>
<fst_version>2.57</fst_version>
<avro_version>1.11.3</avro_version>
<apollo_client_version>2.2.0</apollo_client_version> <apollo_client_version>2.2.0</apollo_client_version>
<snakeyaml_version>2.2</snakeyaml_version> <snakeyaml_version>2.2</snakeyaml_version>
<commons_lang3_version>3.14.0</commons_lang3_version> <commons_lang3_version>3.14.0</commons_lang3_version>
<protostuff_version>1.8.0</protostuff_version>
<envoy_api_version>0.1.35</envoy_api_version> <envoy_api_version>0.1.35</envoy_api_version>
<micrometer.version>1.12.1</micrometer.version> <micrometer.version>1.12.1</micrometer.version>
@ -146,7 +133,6 @@
<resteasy_version>3.15.6.Final</resteasy_version> <resteasy_version>3.15.6.Final</resteasy_version>
<codehaus-jackson_version>1.9.13</codehaus-jackson_version> <codehaus-jackson_version>1.9.13</codehaus-jackson_version>
<tomcat_embed_version>8.5.96</tomcat_embed_version> <tomcat_embed_version>8.5.96</tomcat_embed_version>
<jetcd_version>0.7.6</jetcd_version>
<nacos_version>2.2.4</nacos_version> <nacos_version>2.2.4</nacos_version>
<grpc.version>1.60.0</grpc.version> <grpc.version>1.60.0</grpc.version>
<grpc_contrib_verdion>0.8.1</grpc_contrib_verdion> <grpc_contrib_verdion>0.8.1</grpc_contrib_verdion>
@ -162,26 +148,18 @@
<embedded_redis_version>0.13.0</embedded_redis_version> <embedded_redis_version>0.13.0</embedded_redis_version>
<!-- Eureka -->
<eureka.version>1.10.18</eureka.version>
<!-- Fabric8 for Kubernetes -->
<fabric8_kubernetes_version>6.9.2</fabric8_kubernetes_version>
<!-- Alibaba --> <!-- Alibaba -->
<alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version> <alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version>
<jaxb_version>2.2.7</jaxb_version> <jaxb_version>2.2.7</jaxb_version>
<activation_version>1.2.0</activation_version> <activation_version>1.2.0</activation_version>
<test_container_version>1.19.3</test_container_version> <test_container_version>1.19.3</test_container_version>
<etcd_launcher_version>0.7.6</etcd_launcher_version>
<hessian_lite_version>3.2.13</hessian_lite_version> <hessian_lite_version>3.2.13</hessian_lite_version>
<swagger_version>1.6.12</swagger_version> <swagger_version>1.6.12</swagger_version>
<snappy_java_version>1.1.10.5</snappy_java_version> <snappy_java_version>1.1.10.5</snappy_java_version>
<bouncycastle-bcprov_version>1.70</bouncycastle-bcprov_version> <bouncycastle-bcprov_version>1.70</bouncycastle-bcprov_version>
<metrics_version>2.0.6</metrics_version> <metrics_version>2.0.6</metrics_version>
<sofa_registry_version>5.4.3</sofa_registry_version>
<gson_version>2.10.1</gson_version> <gson_version>2.10.1</gson_version>
<jackson_version>2.16.0</jackson_version> <jackson_version>2.16.0</jackson_version>
<mortbay_jetty_version>6.1.26</mortbay_jetty_version> <mortbay_jetty_version>6.1.26</mortbay_jetty_version>
@ -253,16 +231,6 @@
<artifactId>netty</artifactId> <artifactId>netty</artifactId>
<version>${netty_version}</version> <version>${netty_version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>${mina_version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.grizzly</groupId>
<artifactId>grizzly-core</artifactId>
<version>${grizzly_version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.apache.httpcomponents</groupId> <groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId> <artifactId>httpclient</artifactId>
@ -321,33 +289,6 @@
<artifactId>jedis</artifactId> <artifactId>jedis</artifactId>
<version>${jedis_version}</version> <version>${jedis_version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.ecwid.consul</groupId>
<artifactId>consul-api</artifactId>
<version>${consul_version}</version>
</dependency>
<dependency>
<groupId>com.pszymczyk.consul</groupId>
<artifactId>embedded-consul</artifactId>
<version>${consul_process_version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.orbitz.consul</groupId>
<artifactId>consul-client</artifactId>
<version>${consul_client_version}</version>
</dependency>
<!-- Eureka -->
<dependency>
<groupId>com.netflix.eureka</groupId>
<artifactId>eureka-client</artifactId>
<version>${eureka.version}</version>
</dependency>
<dependency>
<groupId>com.netflix.eureka</groupId>
<artifactId>eureka-core</artifactId>
<version>${eureka.version}</version>
</dependency>
<!-- Alibaba --> <!-- Alibaba -->
<dependency> <dependency>
@ -356,26 +297,6 @@
<version>${alibaba_spring_context_support_version}</version> <version>${alibaba_spring_context_support_version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.googlecode.xmemcached</groupId>
<artifactId>xmemcached</artifactId>
<version>${xmemcached_version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-simple</artifactId>
<version>${cxf_version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf_version}</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${thrift_version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.caucho</groupId> <groupId>com.caucho</groupId>
<artifactId>hessian</artifactId> <artifactId>hessian</artifactId>
@ -482,36 +403,6 @@
<artifactId>cache-api</artifactId> <artifactId>cache-api</artifactId>
<version>${jcache_version}</version> <version>${jcache_version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${kryo_version}</version>
</dependency>
<dependency>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
<version>${kryo_serializers_version}</version>
</dependency>
<dependency>
<groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId>
<version>${fst_version}</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
<version>${avro_version}</version>
</dependency>
<dependency>
<groupId>io.protostuff</groupId>
<artifactId>protostuff-core</artifactId>
<version>${protostuff_version}</version>
</dependency>
<dependency>
<groupId>io.protostuff</groupId>
<artifactId>protostuff-runtime</artifactId>
<version>${protostuff_version}</version>
</dependency>
<dependency> <dependency>
<groupId>javax.ws.rs</groupId> <groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId> <artifactId>javax.ws.rs-api</artifactId>
@ -578,21 +469,6 @@
<artifactId>tomcat-embed-core</artifactId> <artifactId>tomcat-embed-core</artifactId>
<version>${tomcat_embed_version}</version> <version>${tomcat_embed_version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.etcd</groupId>
<artifactId>jetcd-core</artifactId>
<version>${jetcd_version}</version>
<exclusions>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty-handler-proxy</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Log libs --> <!-- Log libs -->
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
@ -722,19 +598,6 @@
<version>${metrics_version}</version> <version>${metrics_version}</version>
</dependency> </dependency>
<!-- for dubbo-registry-sofa -->
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>registry-client-all</artifactId>
<version>${sofa_registry_version}</version>
</dependency>
<dependency>
<groupId>com.alipay.sofa</groupId>
<artifactId>registry-test</artifactId>
<version>${sofa_registry_version}</version>
<scope>test</scope>
</dependency>
<!-- Test lib --> <!-- Test lib -->
<dependency> <dependency>
<groupId>com.github.codemonstur</groupId> <groupId>com.github.codemonstur</groupId>
@ -778,18 +641,6 @@
<artifactId>portlet-api</artifactId> <artifactId>portlet-api</artifactId>
<version>${portlet_version}</version> <version>${portlet_version}</version>
</dependency> </dependency>
<!-- for dubbo-configcenter-etcd -->
<dependency>
<groupId>io.etcd</groupId>
<artifactId>jetcd-launcher</artifactId>
<version>${etcd_launcher_version}</version>
<exclusions>
<exclusion>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency> <dependency>
<groupId>org.testcontainers</groupId> <groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId> <artifactId>testcontainers</artifactId>
@ -846,17 +697,6 @@
<artifactId>jprotoc</artifactId> <artifactId>jprotoc</artifactId>
<version>${jprotoc_version}</version> <version>${jprotoc_version}</version>
</dependency> </dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>${fabric8_kubernetes_version}</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-server-mock</artifactId>
<version>${fabric8_kubernetes_version}</version>
<scope>test</scope>
</dependency>
<!-- tri compress support--> <!-- tri compress support-->
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>

View File

@ -87,18 +87,6 @@
<groupId>com.alibaba</groupId> <groupId>com.alibaba</groupId>
<artifactId>hessian-lite</artifactId> <artifactId>hessian-lite</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
</exclusion>
<exclusion>
<groupId>de.javakaffee</groupId>
<artifactId>kryo-serializers</artifactId>
</exclusion>
<exclusion>
<groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId>
</exclusion>
<exclusion> <exclusion>
<groupId>commons-io</groupId> <groupId>commons-io</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-io</artifactId>