Skip to content

Commit

Permalink
Spring Cloud依赖上提
Browse files Browse the repository at this point in the history
  • Loading branch information
beiyoufx committed Oct 31, 2018
1 parent 15bae6b commit c7f7990
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 60 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ soraka
6. 数据库:MySQL 5.7.16
7. 微服务文档:Swagger2 2.7.0
8. 安全框架:Spring Security OAuth
9. 熔断器:Hystrix
10. 负载均衡:Zuul搭配Ribbon

#### 安装教程

Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
<!--依赖-->
<dependencyManagement>
<dependencies>
<!--spring-cloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--spring-boot-->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
12 changes: 0 additions & 12 deletions soraka-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,6 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down
12 changes: 0 additions & 12 deletions soraka-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,6 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down
12 changes: 0 additions & 12 deletions soraka-discovery/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down
12 changes: 0 additions & 12 deletions soraka-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down
12 changes: 0 additions & 12 deletions soraka-weixin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@
</dependency>
</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
Expand Down

0 comments on commit c7f7990

Please sign in to comment.