Skip to content
Permalink
Browse files
Update dubbo version to 2.7.2
* add snapshot mode

* exclude wrong lib when copy

* exclude wrong lib when copy

* polish

* update to latest version

* update to latest version
  • Loading branch information
htynkn committed Jul 18, 2019
1 parent c22b29d commit a8be15a41a573b1fd91713f82682f4151be784c7
Showing 5 changed files with 6 additions and 9 deletions.
@@ -1,9 +1,9 @@
package org.apache.dubbo.benchmark.serialize;

import com.alibaba.dubbo.common.serialize.support.SerializationOptimizer;
import org.apache.dubbo.benchmark.bean.Page;
import org.apache.dubbo.benchmark.bean.User;
import org.apache.dubbo.benchmark.service.UserService;
import org.apache.dubbo.common.serialize.support.SerializationOptimizer;

import java.util.Arrays;
import java.util.Collection;
@@ -19,7 +19,7 @@
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
</dependency>

@@ -1,7 +1,5 @@
package org.apache.dubbo.benchmark;

import com.alibaba.dubbo.config.ProtocolConfig;

import org.apache.dubbo.benchmark.bean.Page;
import org.apache.dubbo.benchmark.bean.User;
import org.apache.dubbo.benchmark.rpc.AbstractClient;
@@ -43,7 +41,6 @@ protected UserService getUserService() {

@TearDown
public void close() throws IOException {
ProtocolConfig.destroyAll();
context.close();
}

@@ -12,7 +12,7 @@
<properties>
<java.source>1.8</java.source>
<java.target>1.8</java.target>
<dubbo.version>2.6.1</dubbo.version>
<dubbo.version>2.7.2</dubbo.version>
<netty.version>4.1.25.Final</netty.version>
<kryo.version>4.0.2</kryo.version>
<kryo-serializers.version>0.42</kryo-serializers.version>
@@ -40,7 +40,7 @@

<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
</dependency>

@@ -64,7 +64,7 @@
<dependencies>
<!-- use netty 4 by default -->
<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
<version>${dubbo.version}</version>
<exclusions>
@@ -19,7 +19,7 @@
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
</dependency>

0 comments on commit a8be15a

Please sign in to comment.