Skip to content

Commit

Permalink
Remove mentions to PackageCloud milestone repository
Browse files Browse the repository at this point in the history
It does not exist anymore.
  • Loading branch information
acogoluegnes committed Oct 4, 2024
1 parent 86c3a7b commit 4f7df9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
44 changes: 2 additions & 42 deletions src/docs/asciidoc/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ Use your favorite build management tool to add the client dependencies to your p
</dependencies>
----

Milestones and release candidates require to declare the <<milestone-rc-repository,appropriate repository>>.
Snapshots require to declare their <<snapshot-repository,own repository>> as well.
Snapshots require to declare the <<snapshot-repository,appropriate repository>>.

==== Gradle

Expand All @@ -52,46 +51,7 @@ dependencies {
}
----

Milestones and release candidates require to declare the <<milestone-rc-repository,appropriate repository>>.
Snapshots require to declare their <<snapshot-repository,own repository>> as well.

[[milestone-rc-repository]]
==== Milestones and Release Candidates

Releases are available from Maven Central, which does not require specific declaration.
Milestones and release candidates are available from a repository that must be declared in the dependency management configuration.

With Maven:

.Milestone and release candidate repository declaration for Maven
[source,xml,subs="attributes,specialcharacters"]
----
<repositories>
<repository>
<id>packagecloud-rabbitmq-maven-milestones</id>
<url>https://packagecloud.io/rabbitmq/maven-milestones/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
----

With Gradle:

.Milestone and release candidate repository declaration for Gradle:
[source,groovy,subs="attributes,specialcharacters"]
----
repositories {
maven { url "https://packagecloud.io/rabbitmq/maven-milestones/maven2" }
mavenCentral()
}
----
Snapshots require to declare the <<snapshot-repository,appropriate repository>>.

[[snapshot-repository]]
==== Snapshots
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/SanityCheck.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///usr/bin/env jbang "$0" "$@" ; exit $?
//REPOS mavencentral,ossrh-staging=https://oss.sonatype.org/content/groups/staging/,rabbitmq-packagecloud-milestones=https://packagecloud.io/rabbitmq/maven-milestones/maven2
//REPOS mavencentral,ossrh-staging=https://oss.sonatype.org/content/groups/staging/
//DEPS com.rabbitmq.jms:rabbitmq-jms:${version}
//DEPS org.slf4j:slf4j-simple:1.7.36

Expand Down

0 comments on commit 4f7df9b

Please sign in to comment.