Skip to content

Commit a1727fd

Browse files
committed
Use OSS Sonatype for snapshots in documentation
1 parent b155ac1 commit a1727fd

File tree

1 file changed

+2
-59
lines changed

1 file changed

+2
-59
lines changed

src/docs/asciidoc/setup.adoc

+2-59
Original file line numberDiff line numberDiff line change
@@ -100,63 +100,6 @@ Refer to the https://rabbitmq.com/stream.html[stream plugin documentation] for m
100100

101101
Use your favorite build management tool to add the client dependencies to your project.
102102

103-
==== For Single Active Consumer Branch
104-
105-
Add the appropriate repository:
106-
107-
.Single Active Consumer repository declaration for Maven
108-
[source,xml,subs="attributes,specialcharacters"]
109-
----
110-
<repositories>
111-
112-
<repository>
113-
<id>rabbitmq-maven-snapshots</id>
114-
<url>https://dl.cloudsmith.io/public/rabbitmq/maven-snapshots/maven/</url>
115-
<snapshots>
116-
<enabled>true</enabled>
117-
<updatePolicy>always</updatePolicy>
118-
</snapshots>
119-
<releases><enabled>false</enabled></releases>
120-
</repository>
121-
122-
</repositories>
123-
----
124-
125-
.Single Active Consumer repository declaration for Gradle:
126-
[source,groovy,subs="attributes,specialcharacters"]
127-
----
128-
repositories {
129-
maven { url 'https://dl.cloudsmith.io/public/rabbitmq/maven-snapshots/maven/' }
130-
mavenCentral()
131-
}
132-
----
133-
134-
Set up the dependency:
135-
136-
.pom.xml
137-
[source,xml,subs="attributes,specialcharacters"]
138-
----
139-
<dependencies>
140-
141-
<dependency>
142-
<groupId>com.rabbitmq</groupId>
143-
<artifactId>stream-client-sac</artifactId>
144-
<version>{project-version}</version>
145-
</dependency>
146-
147-
</dependencies>
148-
----
149-
150-
.build.gradle
151-
[source,groovy,subs="attributes,specialcharacters"]
152-
----
153-
dependencies {
154-
compile "com.rabbitmq:stream-client-sac:{project-version}"
155-
}
156-
----
157-
158-
(TODO: remove this section when merging)
159-
160103
==== Maven
161104

162105
.pom.xml
@@ -166,7 +109,7 @@ dependencies {
166109
167110
<dependency>
168111
<groupId>com.rabbitmq</groupId>
169-
<artifactId>stream-client</artifactId>
112+
<artifactId>stream-client-sac</artifactId>
170113
<version>{project-version}</version>
171114
</dependency>
172115
@@ -181,7 +124,7 @@ Milestones and snapshots require to declare the <<milestones-and-snapshots,appro
181124
[source,groovy,subs="attributes,specialcharacters"]
182125
----
183126
dependencies {
184-
compile "com.rabbitmq:stream-client:{project-version}"
127+
compile "com.rabbitmq:stream-client-sac:{project-version}"
185128
}
186129
----
187130

0 commit comments

Comments
 (0)