Skip to content

Commit 2627f2c

Browse files
committed
1 parent 531debd commit 2627f2c

File tree

5 files changed

+32
-10
lines changed
  • dubbo-spring-boot-autoconfigure
  • dubbo-spring-boot-parent
  • dubbo-spring-boot-samples
    • dubbo-spring-boot-sample-consumer
    • dubbo-spring-boot-sample-provider
  • dubbo-spring-boot-starter

5 files changed

+32
-10
lines changed

dubbo-spring-boot-autoconfigure/pom.xml

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<artifactId>spring-boot-autoconfigure</artifactId>
3939
<optional>true</optional>
4040
</dependency>
41+
4142
<dependency>
4243
<groupId>org.springframework.boot</groupId>
4344
<artifactId>spring-boot-starter-logging</artifactId>
@@ -58,11 +59,18 @@
5859
<optional>true</optional>
5960
</dependency>
6061

62+
<!-- Alibaba Spring Context extension -->
63+
<dependency>
64+
<groupId>com.alibaba.spring</groupId>
65+
<artifactId>spring-context-support</artifactId>
66+
</dependency>
67+
6168
<!-- Test Dependencies -->
6269
<dependency>
6370
<groupId>org.springframework.boot</groupId>
6471
<artifactId>spring-boot-starter-test</artifactId>
6572
<scope>test</scope>
6673
</dependency>
74+
6775
</dependencies>
6876
</project>

dubbo-spring-boot-parent/pom.xml

+10-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
<java.target.version>1.8</java.target.version>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3939
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40-
<spring-boot.version>2.0.3.RELEASE</spring-boot.version>
41-
<dubbo.version>2.6.2</dubbo.version>
40+
<spring-boot.version>2.1.1.RELEASE</spring-boot.version>
41+
<dubbo.version>2.6.5</dubbo.version>
4242
<zkclient.version>0.2</zkclient.version>
4343
<zookeeper.version>3.4.9</zookeeper.version>
4444
<curator-framework.version>2.12.0</curator-framework.version>
@@ -57,6 +57,7 @@
5757
<apache-rat-plugin.version>0.12</apache-rat-plugin.version>
5858
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
5959
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
60+
<alibaba-spring-context-support.version>1.0.2</alibaba-spring-context-support.version>
6061
</properties>
6162

6263
<dependencyManagement>
@@ -92,6 +93,13 @@
9293
</exclusions>
9394
</dependency>
9495

96+
<!-- Alibaba Spring Context extension -->
97+
<dependency>
98+
<groupId>com.alibaba.spring</groupId>
99+
<artifactId>spring-context-support</artifactId>
100+
<version>${alibaba-spring-context-support.version}</version>
101+
</dependency>
102+
95103
<!-- ZK -->
96104
<dependency>
97105
<groupId>org.apache.zookeeper</groupId>

dubbo-spring-boot-samples/dubbo-spring-boot-sample-consumer/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353
<version>${project.version}</version>
5454
</dependency>
5555

56+
<dependency>
57+
<groupId>com.alibaba</groupId>
58+
<artifactId>dubbo</artifactId>
59+
</dependency>
60+
5661
<dependency>
5762
<groupId>${project.groupId}</groupId>
5863
<artifactId>dubbo-spring-boot-sample-api</artifactId>

dubbo-spring-boot-samples/dubbo-spring-boot-sample-provider/pom.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<modelVersion>4.0.0</modelVersion>
2727

2828
<artifactId>dubbo-spring-boot-sample-provider</artifactId>
29-
<name>Dubbo Spring Boot Sample : Provider </name>
29+
<name>Dubbo Spring Boot Sample : Provider</name>
3030

3131
<dependencies>
3232

@@ -53,6 +53,11 @@
5353
<version>${project.version}</version>
5454
</dependency>
5555

56+
<dependency>
57+
<groupId>com.alibaba</groupId>
58+
<artifactId>dubbo</artifactId>
59+
</dependency>
60+
5661
<dependency>
5762
<groupId>${project.groupId}</groupId>
5863
<artifactId>dubbo-spring-boot-sample-api</artifactId>

dubbo-spring-boot-starter/pom.xml

+3-7
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,20 @@
3636
<dependency>
3737
<groupId>org.springframework.boot</groupId>
3838
<artifactId>spring-boot-starter</artifactId>
39-
<scope>provided</scope>
40-
</dependency>
41-
42-
<!-- Dubbo -->
43-
<dependency>
44-
<groupId>com.alibaba</groupId>
45-
<artifactId>dubbo</artifactId>
39+
<optional>true</optional>
4640
</dependency>
4741

4842
<!-- ZK -->
4943
<dependency>
5044
<groupId>org.apache.zookeeper</groupId>
5145
<artifactId>zookeeper</artifactId>
46+
<optional>true</optional>
5247
</dependency>
5348

5449
<dependency>
5550
<groupId>org.apache.curator</groupId>
5651
<artifactId>curator-framework</artifactId>
52+
<optional>true</optional>
5753
</dependency>
5854

5955
<dependency>

0 commit comments

Comments
 (0)