Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (45 loc) · 1.24 KB

including.adoc

File metadata and controls

49 lines (45 loc) · 1.24 KB

Including in your project

You will need to include the spring snapshot repository to your pom.xml:

<repositories>
    <repository>
        <id>spring-snapshots</id>
        <name>Spring Snapshots</name>
        <url>https://repo.spring.io/libs-snapshot-local</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <releases>
            <enabled>false</enabled>
        </releases>
    </repository>
</repositories>

Add the following to your dependency management section.

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-rsocket-dependencies</artifactId>
            <version>0.2.0.BUILD-SNAPSHOT</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

Then use the following dependencies for a client or broker respectively:

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-rsocket-client</artifactId>
</dependency>

or

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-rsocket-broker</artifactId>
</dependency>