|
@@ -14,12 +14,70 @@
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
+
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
+ <version>Greenwich.SR2</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
+ <version>0.9.0.RELEASE</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>1.6.1</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
+ <!-- Rpc feign依赖 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- nacos 注册中心依赖 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <!-- nacos 配置中心依赖 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.boot</groupId>
|
|
|
+ <artifactId>nacos-config-spring-boot-starter</artifactId>
|
|
|
+ <version>${nacos-config-spring-boot.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
|