Re-order BOMs so that rxjava gets the right version from netflix

Because stream (currently) depends on an old version of rxjava, this
was causing issues for user projects, pulling in the wrong version
onto the classpath. Putting the netflix BOM first in dependency
management is enoug hto fix it for now (until something else
has a strong opinion about one of the dependencies in netflix).
This commit is contained in:
Dave Syer
2016-05-10 09:49:50 +01:00
parent d94b065a91
commit 0287a34c7d

View File

@@ -274,6 +274,13 @@
<version>${spring-cloud-netflix.version}</version>
</dependency>
<!-- bom dependencies at the bottom so they can be overridden above -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-dependencies</artifactId>
<version>${spring-cloud-netflix.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-dependencies</artifactId>
@@ -295,13 +302,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-netflix-dependencies</artifactId>
<version>${spring-cloud-netflix.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-dependencies</artifactId>