Skip to content

Commit bd2bcfd

Browse files
committed
Add milestone instructions in readme
1 parent e680289 commit bd2bcfd

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,51 @@ Or the following to `build.gradle` for Gradle:
3838
compile 'com.rabbitmq.jms:rabbitmq-jms:2.4.0'
3939
```
4040

41-
#### Snapshot
41+
#### Milestone
42+
43+
Add the following to `pom.xml` for Maven:
44+
45+
```xml
46+
<dependency>
47+
<groupId>com.rabbitmq.jms</groupId>
48+
<artifactId>rabbitmq-jms</artifactId>
49+
<version>2.5.0.RC1</version>
50+
</dependency>
51+
```
52+
53+
You need to declare the milestone repository as well:
54+
55+
```xml
56+
<repositories>
57+
58+
<repositories>
59+
<repository>
60+
<id>packagecloud-rabbitmq-maven-milestones</id>
61+
<url>https://packagecloud.io/rabbitmq/maven-milestones/maven2</url>
62+
<releases><enabled>true</enabled></releases>
63+
<snapshots><enabled>false</enabled></snapshots>
64+
</repository>
65+
</repositories>
66+
67+
</repositories>
68+
```
69+
70+
Or the following to `build.gradle` for Gradle:
71+
72+
```groovy
73+
compile 'com.rabbitmq.jms:rabbitmq-jms:2.5.0.RC1'
74+
```
75+
76+
You need to declare the milestone repository as well:
4277

78+
```groovy
79+
repositories {
80+
maven { url 'https://packagecloud.io/rabbitmq/maven-milestones/maven2' }
81+
mavenCentral()
82+
}
83+
```
84+
85+
#### Snapshot
4386

4487
Add the following to `pom.xml` for Maven:
4588

@@ -66,7 +109,6 @@ You need to declare the snapshot repository as well:
66109
</repositories>
67110
```
68111

69-
70112
Or the following to `build.gradle` for Gradle:
71113

72114
```groovy

0 commit comments

Comments
 (0)