[incubator-dubbo-spring-boot-project] 01/01: Add branch 0.2.0 for Spring Boot 2.0.0

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.2.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git

commit f3b5bd476adb0cdda4c1b4a81cc6ba3a01daf218
Author: mercyblitz 
AuthorDate: Tue Mar 27 00:18:15 2018 +0800

Add branch 0.2.0 for Spring Boot 2.0.0
---
 README.md   | 2 +-
 dubbo-spring-boot-actuator/pom.xml  | 2 +-
 dubbo-spring-boot-autoconfigure/pom.xml | 2 +-
 dubbo-spring-boot-parent/pom.xml| 2 +-
 dubbo-spring-boot-samples/dubbo-spring-boot-sample-api/pom.xml  | 2 +-
 dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml | 2 +-
 dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml | 2 +-
 dubbo-spring-boot-samples/pom.xml   | 2 +-
 dubbo-spring-boot-starter/pom.xml   | 2 +-
 pom.xml | 2 +-
 10 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index 2b8af73..761468a 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ You can introduce the latest `dubbo-spring-boot-starter` to 
your project by add
 
 com.alibaba.boot
 dubbo-spring-boot-starter
-0.1.1
+0.2.0
 
 ```
 If your project failed to resolve the dependency, try to add the following 
repository:
diff --git a/dubbo-spring-boot-actuator/pom.xml 
b/dubbo-spring-boot-actuator/pom.xml
index a73c7cf..13c5706 100644
--- a/dubbo-spring-boot-actuator/pom.xml
+++ b/dubbo-spring-boot-actuator/pom.xml
@@ -5,7 +5,7 @@
 
 dubbo-spring-boot-parent
 com.alibaba.boot
-0.1.1
+0.2.0
 ../dubbo-spring-boot-parent/pom.xml
 
 4.0.0
diff --git a/dubbo-spring-boot-autoconfigure/pom.xml 
b/dubbo-spring-boot-autoconfigure/pom.xml
index 54e0a4d..024c0c7 100644
--- a/dubbo-spring-boot-autoconfigure/pom.xml
+++ b/dubbo-spring-boot-autoconfigure/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-parent
-0.1.1
+0.2.0
 ../dubbo-spring-boot-parent
 
 4.0.0
diff --git a/dubbo-spring-boot-parent/pom.xml b/dubbo-spring-boot-parent/pom.xml
index cc21e66..1f80b66 100644
--- a/dubbo-spring-boot-parent/pom.xml
+++ b/dubbo-spring-boot-parent/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-project
-0.1.1
+0.2.0
 ../pom.xml
 
 
diff --git a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-api/pom.xml 
b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-api/pom.xml
index bfa59b7..d176061 100644
--- a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-api/pom.xml
+++ b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-api/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-samples
-0.1.1
+0.2.0
 ../pom.xml
 
 4.0.0
diff --git 
a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml 
b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml
index c1b6594..f764546 100644
--- a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml
+++ b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-samples
-0.1.1
+0.2.0
 ../pom.xml
 
 4.0.0
diff --git 
a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml 
b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml
index 070e3dc..0ed1322 100644
--- a/dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml
+++ b/dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-samples
-0.1.1
+0.2.0
 ../pom.xml
 
 4.0.0
diff --git a/dubbo-spring-boot-samples/pom.xml 
b/dubbo-spring-boot-samples/pom.xml
index 44a40da..ab824dc 100644
--- a/dubbo-spring-boot-samples/pom.xml
+++ b/dubbo-spring-boot-samples/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-parent
-0.1.1
+0.2.0
 ../dubbo-spring-boot-parent/pom.xml
 
 4.0.0
diff --git a/dubbo-spring-boot-starter/pom.xml 
b/dubbo-spring-boot-starter/pom.xml
index f8a6f9c..49691eb 100644
--- a/dubbo-spring-boot-starter/pom.xml
+++ b/dubbo-spring-boot-starter/pom.xml
@@ -5,7 +5,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-parent
-0.1.1
+0.2.0
 ../dubbo-spring-boot-parent
 
 4.0.0
diff --git a/pom.xml b/pom.xml
index 4855c41..ad2119b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
 
 com.alibaba.boot
 dubbo-spring-boot-project
-0.1.1
+0.2.0
 
 pom

[incubator-dubbo-spring-boot-project] branch 0.2.0 created (now f3b5bd4)

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a change to branch 0.2.0
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git.


  at f3b5bd4  Add branch 0.2.0 for Spring Boot 2.0.0

This branch includes the following new commits:

 new f3b5bd4  Add branch 0.2.0 for Spring Boot 2.0.0

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
mercybl...@apache.org.


[incubator-dubbo-spring-boot-project] branch 0.1.1 updated: Polish #67

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.1.1
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/0.1.1 by this push:
 new d436a4b  Polish #67
d436a4b is described below

commit d436a4ba42e9ba84a6f34ede31375c79131071f4
Author: mercyblitz 
AuthorDate: Tue Mar 27 00:10:48 2018 +0800

Polish #67
---
 .../event/AwaitingNonWebApplicationListener.java   | 96 ++
 .../src/main/resources/META-INF/spring.factories   |  3 +-
 .../src/main/resources/application.properties  |  2 +-
 .../dubbo-spring-boot-sample-provider/pom.xml  |  2 +-
 .../demo/provider/bootstrap/DubboProviderDemo.java |  6 +-
 .../src/main/resources/application.properties  |  2 +-
 6 files changed, 105 insertions(+), 6 deletions(-)

diff --git 
a/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/context/event/AwaitingNonWebApplicationListener.java
 
b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/context/event/AwaitingNonWebApplicationListener.java
new file mode 100644
index 000..a2b8b3f
--- /dev/null
+++ 
b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/context/event/AwaitingNonWebApplicationListener.java
@@ -0,0 +1,96 @@
+/*
+ * 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 com.alibaba.boot.dubbo.context.event;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.context.event.ApplicationReadyEvent;
+import org.springframework.context.ApplicationListener;
+
+import java.util.concurrent.ExecutorService;
+import java.util.concurrent.Executors;
+import java.util.concurrent.atomic.AtomicBoolean;
+
+/**
+ * Awaiting Non-Web Spring Boot {@link ApplicationListener}
+ *
+ * @author mailto:mercybl...@gmail.com;>Mercy
+ * @since 0.1.1
+ */
+public class AwaitingNonWebApplicationListener implements 
ApplicationListener {
+
+private static final Logger logger = 
LoggerFactory.getLogger(AwaitingNonWebApplicationListener.class);
+
+private static final ExecutorService executorService = 
Executors.newSingleThreadExecutor();
+
+private static final AtomicBoolean shutdownHookRegistered = new 
AtomicBoolean(false);
+
+private static final AtomicBoolean awaited = new AtomicBoolean(false);
+
+@Override
+public void onApplicationEvent(ApplicationReadyEvent event) {
+
+final SpringApplication springApplication = 
event.getSpringApplication();
+
+if (springApplication.isWebEnvironment()) {
+return;
+}
+
+executorService.execute(new Runnable() {
+@Override
+public void run() {
+
+synchronized (springApplication) {
+if (logger.isInfoEnabled()) {
+logger.info(" [Dubbo] Current Spring Boot Application 
is await...");
+}
+while (!awaited.get()) {
+try {
+springApplication.wait();
+} catch (InterruptedException e) {
+Thread.currentThread().interrupt();
+}
+}
+}
+}
+});
+
+// register ShutdownHook
+if (shutdownHookRegistered.compareAndSet(false, true)) {
+registerShutdownHook(new Thread(new Runnable() {
+@Override
+public void run() {
+synchronized (springApplication) {
+if (awaited.compareAndSet(false, true)) {
+springApplication.notifyAll();
+if (logger.isInfoEnabled()) {
+logger.info(" [Dubbo] Current Spring Boot 
Application is about to shutdown...");
+}
+// Shutdown executorService
+executorService.shutdown();
+}
+}
+}
+}));
+  

[incubator-dubbo-spring-boot-project] branch 0.1.1 updated: Remove @EnableConfigurationProperties Beans

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.1.1
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/0.1.1 by this push:
 new 47ba15d  Remove @EnableConfigurationProperties Beans
47ba15d is described below

commit 47ba15db5bb20209623d96de076a2492cef8d84d
Author: mercyblitz 
AuthorDate: Mon Mar 26 22:22:18 2018 +0800

Remove @EnableConfigurationProperties Beans
---
 .../autoconfigure/DubboAutoConfiguration.java  |  17 ++-
 .../dubbo/autoconfigure/DubboConfigProperties.java |  61 -
 .../dubbo/autoconfigure/DubboScanProperties.java   |  53 
 .../MultipleDubboConfigBindingProperties.java  | 140 -
 .../autoconfigure/RelaxedDubboConfigBinder.java|  50 
 .../SingleDubboConfigBindingProperties.java| 136 
 ...DubboAutoConfigurationOnMultipleConfigTest.java |  69 +-
 .../DubboAutoConfigurationOnSingleConfigTest.java  |  37 --
 .../RelaxedDubboConfigBinderTest.java  |  61 +
 9 files changed, 125 insertions(+), 499 deletions(-)

diff --git 
a/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
 
b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
index 89dbefb..25bc963 100644
--- 
a/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
+++ 
b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
@@ -26,20 +26,21 @@ import 
com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;
 import 
com.alibaba.dubbo.config.spring.context.annotation.DubboConfigConfiguration;
 import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
 import com.alibaba.dubbo.config.spring.context.annotation.EnableDubboConfig;
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
 import 
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
 import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
+import org.springframework.boot.bind.RelaxedDataBinder;
 import org.springframework.boot.bind.RelaxedPropertyResolver;
-import 
org.springframework.boot.context.properties.EnableConfigurationProperties;
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Scope;
 import org.springframework.core.env.Environment;
 
 import java.util.Set;
 
 import static com.alibaba.boot.dubbo.util.DubboUtils.*;
 import static java.util.Collections.emptySet;
+import static 
org.springframework.beans.factory.config.ConfigurableBeanFactory.SCOPE_PROTOTYPE;
 
 /**
  * Dubbo Auto {@link Configuration}
@@ -56,7 +57,6 @@ import static java.util.Collections.emptySet;
 @Configuration
 @ConditionalOnProperty(prefix = DUBBO_PREFIX, name = "enabled", matchIfMissing 
= true, havingValue = "true")
 @ConditionalOnClass(AbstractConfig.class)
-@EnableConfigurationProperties(value = {DubboScanProperties.class, 
DubboConfigProperties.class})
 public class DubboAutoConfiguration {
 
 /**
@@ -67,7 +67,6 @@ public class DubboAutoConfiguration {
  */
 @ConditionalOnProperty(name = MULTIPLE_CONFIG_PROPERTY_NAME, havingValue = 
"false", matchIfMissing = true)
 @EnableDubboConfig
-@EnableConfigurationProperties(SingleDubboConfigBindingProperties.class)
 protected static class SingleDubboConfigConfiguration {
 }
 
@@ -79,7 +78,6 @@ public class DubboAutoConfiguration {
  */
 @ConditionalOnProperty(name = MULTIPLE_CONFIG_PROPERTY_NAME, havingValue = 
"true")
 @EnableDubboConfig(multiple = true)
-@EnableConfigurationProperties(MultipleDubboConfigBindingProperties.class)
 protected static class MultipleDubboConfigConfiguration {
 }
 
@@ -89,7 +87,7 @@ public class DubboAutoConfiguration {
  * @return {@link ServiceAnnotationBeanPostProcessor}
  */
 @ConditionalOnProperty(name = BASE_PACKAGES_PROPERTY_NAME)
-@Autowired
+@ConditionalOnClass(RelaxedPropertyResolver.class)
 @Bean
 public ServiceAnnotationBeanPostProcessor 
serviceAnnotationBeanPostProcessor(Environment environment) {
 RelaxedPropertyResolver resolver = new 
RelaxedPropertyResolver(environment);
@@ -97,6 +95,13 @@ public class DubboAutoConfiguration {
 return new ServiceAnnotationBeanPostProcessor(packagesToScan);
 }
 
+@ConditionalOnClass(RelaxedDataBinder.class)
+@Bean
+@Scope(scopeName = SCOPE_PROTOTYPE)
+public RelaxedDubboConfigBinder relaxedDubboConfigBinder() {
+return new RelaxedDubboConfigBinder();
+}
+
 /**
  

[incubator-dubbo-spring-boot-project] branch 0.1.1 updated: Update Spring Boot dependencies to be 1.5.10.RELEASE

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.1.1
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/0.1.1 by this push:
 new 42b5b48  Update Spring Boot dependencies to be 1.5.10.RELEASE
42b5b48 is described below

commit 42b5b480e978b67a5535d7ed5b6c1d2dcc152216
Author: mercyblitz 
AuthorDate: Mon Mar 26 21:57:27 2018 +0800

Update Spring Boot dependencies to be 1.5.10.RELEASE
---
 README.md   | 2 +-
 .../com/alibaba/boot/dubbo/actuate/endpoint/DubboEndpointTest.java  | 6 ++
 .../boot/dubbo/actuate/endpoint/mvc/DubboMvcEndpointTest.java   | 6 ++
 .../alibaba/boot/dubbo/actuate/health/DubboHealthIndicatorTest.java | 6 ++
 .../autoconfigure/DubboAutoConfigurationOnMultipleConfigTest.java   | 6 ++
 .../autoconfigure/DubboAutoConfigurationOnSingleConfigTest.java | 6 ++
 .../event/OverrideDubboConfigApplicationListenerDisableTest.java| 6 ++
 .../context/event/OverrideDubboConfigApplicationListenerTest.java   | 6 ++
 .../dubbo/context/event/WelcomeLogoApplicationListenerTest.java | 6 ++
 dubbo-spring-boot-autoconfigure/src/test/resources/dubbo.properties | 5 +
 dubbo-spring-boot-parent/pom.xml| 2 +-
 11 files changed, 23 insertions(+), 34 deletions(-)

diff --git a/README.md b/README.md
index 591aae8..2b8af73 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ If your project failed to resolve the dependency, try to add 
the following repos
 | versions | Java  | Spring Boot   | Dubbo  |
 |  | - | - | -- |
 | `0.2.0`  | 1.8 + | `2.0.0.RELEASE` + | `2.5.11` + |
-| `0.1.1`  | 1.7 + | `1.3.0.RELEASE` + | `2.5.11` + |
+| `0.1.1`  | 1.7 + | `1.5.10.RELEASE` + | `2.5.11` + |
 
 
 
diff --git 
a/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/DubboEndpointTest.java
 
b/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/DubboEndpointTest.java
index 09cdd1a..a3161be 100644
--- 
a/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/DubboEndpointTest.java
+++ 
b/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/DubboEndpointTest.java
@@ -21,8 +21,7 @@ import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.IntegrationTest;
-import org.springframework.boot.test.SpringApplicationConfiguration;
+import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
 
 import java.util.Map;
@@ -37,12 +36,11 @@ import static com.alibaba.dubbo.common.Version.getVersion;
  * @since 1.0.0
  */
 @RunWith(SpringJUnit4ClassRunner.class)
-@SpringApplicationConfiguration(
+@SpringBootTest(
 classes = {
 DubboEndpoint.class
 }
 )
-@IntegrationTest
 public class DubboEndpointTest {
 
 
diff --git 
a/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/mvc/DubboMvcEndpointTest.java
 
b/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/mvc/DubboMvcEndpointTest.java
index 9b596fb..ae5d388 100644
--- 
a/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/mvc/DubboMvcEndpointTest.java
+++ 
b/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/endpoint/mvc/DubboMvcEndpointTest.java
@@ -23,8 +23,7 @@ import org.junit.Assert;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.test.IntegrationTest;
-import org.springframework.boot.test.SpringApplicationConfiguration;
+import org.springframework.boot.test.context.SpringBootTest;
 import org.springframework.context.annotation.Bean;
 import org.springframework.test.context.TestPropertySource;
 import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@@ -57,14 +56,13 @@ import java.util.SortedMap;
 
"dubbo.scan.basePackages=com.alibaba.boot.dubbo.actuate.endpoint.mvc"
 }
 )
-@SpringApplicationConfiguration(
+@SpringBootTest(
 classes = {
 DubboAutoConfiguration.class,
 DubboEndpoint.class,
 DubboMvcEndpointTest.class
 }
 )
-@IntegrationTest
 public class DubboMvcEndpointTest {
 
 @Bean
diff --git 
a/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/health/DubboHealthIndicatorTest.java
 
b/dubbo-spring-boot-actuator/src/test/java/com/alibaba/boot/dubbo/actuate/health/DubboHealthIndicatorTest.java
index 66231d4..6d736f0 100644
--- 

[incubator-dubbo-spring-boot-project] branch 0.1.1 updated: Update the version and document

2018-03-26 Thread mercyblitz
This is an automated email from the ASF dual-hosted git repository.

mercyblitz pushed a commit to branch 0.1.1
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/0.1.1 by this push:
 new fb1ac37  Update the version and document
fb1ac37 is described below

commit fb1ac37f078963495095c1dee5a186eb423ed618
Author: mercyblitz 
AuthorDate: Mon Mar 26 21:31:11 2018 +0800

Update the version and document
---
 README.md  | 25 ++
 dubbo-spring-boot-actuator/README.md   |  2 +-
 dubbo-spring-boot-actuator/pom.xml |  2 +-
 dubbo-spring-boot-autoconfigure/README.md  |  2 +-
 dubbo-spring-boot-autoconfigure/pom.xml|  2 +-
 dubbo-spring-boot-parent/pom.xml   |  4 ++--
 .../dubbo-spring-boot-sample-api/pom.xml   |  2 +-
 .../dubbo-spring-boot-sample-consumer/pom.xml  |  2 +-
 .../dubbo-spring-boot-sample-provider/pom.xml  |  2 +-
 dubbo-spring-boot-samples/pom.xml  |  2 +-
 dubbo-spring-boot-starter/pom.xml  |  2 +-
 pom.xml|  2 +-
 12 files changed, 33 insertions(+), 16 deletions(-)

diff --git a/README.md b/README.md
index 70beda3..591aae8 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
 # Dubbo Spring Boot Project
 
-[Dubbo](https://github.com/alibaba/dubbo) Spring Boot Project makes it easy to 
create [Spring Boot](https://github.com/spring-projects/spring-boot/) 
application using Dubbo as RPC Framework. What's more , it aslo provides 
+[Dubbo](https://github.com/alibaba/dubbo) Spring Boot Project makes it easy to 
create [Spring Boot](https://github.com/spring-projects/spring-boot/) 
application using Dubbo as RPC Framework. What's more, it aslo provides
 
-* [auto-configure features](dubbo-spring-boot-autoconfigure) 
(e.g.annotation-driven, auto configuration, externalized configuration).
-* [production-ready features](dubbo-spring-boot-actuator) (e.g.security, 
health checks, externalized configuration).
+* [auto-configure features](dubbo-spring-boot-autoconfigure) (e.g., 
annotation-driven, auto configuration, externalized configuration).
+* [production-ready features](dubbo-spring-boot-actuator) (e.g., security, 
health checks, externalized configuration).
 
 
 
@@ -11,16 +11,24 @@
 
 
 
+## Versions
 
+For now, `dubbo-spring-boot-starter` will separate two versions for Spring 
Boot 2.x and 1.x once release : 
 
+* `0.2.x` is a main stream release version for Spring Boot 2.x
+
+* `0.1.x` is a legacy version for maintaining Spring Boot 1.x
+
+  ​
 
 ## Integrate with Maven
+
 You can introduce the latest `dubbo-spring-boot-starter` to your project by 
adding the following dependency to your pom.xml
 ```xml
 
 com.alibaba.boot
 dubbo-spring-boot-starter
-0.1.0
+0.1.1
 
 ```
 If your project failed to resolve the dependency, try to add the following 
repository:
@@ -41,6 +49,15 @@ If your project failed to resolve the dependency, try to add 
the following repos
 
 
 
+## Dependencies
+
+| versions | Java  | Spring Boot   | Dubbo  |
+|  | - | - | -- |
+| `0.2.0`  | 1.8 + | `2.0.0.RELEASE` + | `2.5.11` + |
+| `0.1.1`  | 1.7 + | `1.3.0.RELEASE` + | `2.5.11` + |
+
+
+
 ## Getting Started
 
 If you don't know about Dubbo , please take a few minutes to learn 
http://dubbo.io/ . After that  you could dive deep into dubbo [user 
guide](http://dubbo.io/books/dubbo-user-book-en/).
diff --git a/dubbo-spring-boot-actuator/README.md 
b/dubbo-spring-boot-actuator/README.md
index a33916b..39d8c41 100644
--- a/dubbo-spring-boot-actuator/README.md
+++ b/dubbo-spring-boot-actuator/README.md
@@ -21,7 +21,7 @@ You can introduce the latest `dubbo-spring-boot-actuator` to 
your project by ad
 
 com.alibaba.boot
 dubbo-spring-boot-actuator
-0.1.0
+0.1.1
 
 ```
 If your project failed to resolve the dependency, try to add the following 
repository:
diff --git a/dubbo-spring-boot-actuator/pom.xml 
b/dubbo-spring-boot-actuator/pom.xml
index a9c1c04..a73c7cf 100644
--- a/dubbo-spring-boot-actuator/pom.xml
+++ b/dubbo-spring-boot-actuator/pom.xml
@@ -5,7 +5,7 @@
 
 dubbo-spring-boot-parent
 com.alibaba.boot
-0.1.0
+0.1.1
 ../dubbo-spring-boot-parent/pom.xml
 
 4.0.0
diff --git a/dubbo-spring-boot-autoconfigure/README.md 
b/dubbo-spring-boot-autoconfigure/README.md
index 651c74a..9490e7d 100644
--- a/dubbo-spring-boot-autoconfigure/README.md
+++ b/dubbo-spring-boot-autoconfigure/README.md
@@ -23,7 +23,7 @@ You can introduce the latest 
`dubbo-spring-boot-autoconfigure` to your project
 
 com.alibaba.boot
 dubbo-spring-boot-autoconfigure
-0.1.0
+0.1.1
 
 ```
 
diff --git a/dubbo-spring-boot-autoconfigure/pom.xml 
b/dubbo-spring-boot-autoconfigure/pom.xml
index