Skip to content

Commit 0c4b20a

Browse files
committed
Don't reference milestone
Because there's no milestone yet, only "stable" and snapshots.
1 parent f75750f commit 0c4b20a

File tree

3 files changed

+11
-41
lines changed

3 files changed

+11
-41
lines changed

README.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ The library requires Java 8 or later. Java 11 is recommended.
3939
* https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/[Reference documentation]
4040
* https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/api/com/rabbitmq/stream/package-summary.html[API documentation]
4141

42-
==== Milestone
43-
44-
TDB
45-
4642
==== Snapshot
4743

4844
* https://rabbitmq.github.io/rabbitmq-stream-java-client/snapshot/htmlsingle/[Reference documentation]

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@
408408
<require>asciidoctor-diagram</require>
409409
</requires>
410410
<attributes>
411+
<project-artifact-id>${project.artifactId}</project-artifact-id>
411412
<project-version>${project.version}</project-version>
412413
<protonj-version>${proton-j.version}</protonj-version>
413414
<build-number>${buildNumber}</build-number>

src/docs/asciidoc/setup.adoc

Lines changed: 10 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -101,61 +101,34 @@ Use your favorite build management tool to add the client dependencies to your p
101101
102102
<dependency>
103103
<groupId>com.rabbitmq</groupId>
104-
<artifactId>stream-client</artifactId>
104+
<artifactId>{project-artifact-id}</artifactId>
105105
<version>{project-version}</version>
106106
</dependency>
107107
108108
</dependencies>
109109
----
110110

111-
Milestones and snapshots require to declare the <<milestones-and-snapshots,appropriate repository>>.
111+
Snapshots require to declare the <<snapshots,appropriate repository>>.
112112

113113
==== Gradle
114114

115115
.build.gradle
116116
[source,groovy,subs="attributes,specialcharacters"]
117117
----
118118
dependencies {
119-
compile "com.rabbitmq:stream-client:{project-version}"
119+
compile "com.rabbitmq:{project-artifact-id}:{project-version}"
120120
}
121121
----
122122

123-
Milestones and snapshots require to declare the <<milestones-and-snapshots,appropriate repository>>.
123+
Snapshots require to declare the <<snapshots,appropriate repository>>.
124124

125-
[[milestones-and-snapshots]]
126-
=== Milestones and Snapshots
125+
[[snapshots]]
126+
=== Snapshots
127127

128-
Releases are available from Maven Central, which does not require specific declaration. Milestones and snapshots are available from repositories which must be declared in the dependency management configuration.
128+
Releases are available from Maven Central, which does not require specific declaration.
129+
Snapshots are available from a repositoriy which must be declared in the dependency management configuration.
129130

130-
For milestones, with Maven:
131-
132-
.Milestone repository declaration for Maven
133-
[source,xml,subs="attributes,specialcharacters"]
134-
----
135-
<repositories>
136-
137-
<repository>
138-
<id>packagecloud-rabbitmq-maven-milestones</id>
139-
<url>https://packagecloud.io/rabbitmq/maven-milestones/maven2</url>
140-
<releases><enabled>true</enabled></releases>
141-
<snapshots><enabled>false</enabled></snapshots>
142-
</repository>
143-
144-
</repositories>
145-
----
146-
147-
For milestones, with Gradle:
148-
149-
.Milestone repository declaration for Gradle:
150-
[source,groovy,subs="attributes,specialcharacters"]
151-
----
152-
repositories {
153-
maven { url "https://packagecloud.io/rabbitmq/maven-milestones/maven2" }
154-
mavenCentral()
155-
}
156-
----
157-
158-
For snapshots, with Maven:
131+
With Maven:
159132

160133
.Snapshot repository declaration for Maven
161134
[source,xml,subs="attributes,specialcharacters"]
@@ -172,7 +145,7 @@ For snapshots, with Maven:
172145
</repositories>
173146
----
174147

175-
For snapshots, with Gradle:
148+
With Gradle:
176149

177150
.Snapshot repository declaration for Gradle:
178151
[source,groovy,subs="attributes,specialcharacters"]

0 commit comments

Comments
 (0)