Skip to content

Commit 52b217c

Browse files
committed
Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #1748
1 parent 1caba3e commit 52b217c

File tree

4 files changed

+25
-32
lines changed

4 files changed

+25
-32
lines changed

README.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ If you'd rather like the latest snapshots of the upcoming major version, use our
124124
</dependency>
125125
126126
<repository>
127-
<id>spring-libs-snapshot</id>
127+
<id>spring-snapshot</id>
128128
<name>Spring Snapshot Repository</name>
129-
<url>https://repo.spring.io/libs-snapshot</url>
129+
<url>https://repo.spring.io/snapshot</url>
130130
</repository>
131131
----
132132

@@ -185,7 +185,7 @@ The generated documentation is available from `target/site/reference/html/index.
185185
export MY_GIT_USER=<github-user>
186186
mvn generate-resources
187187
docs=`pwd`/target/site/reference/html
188-
pushd /tmp
188+
pushd /tmp
189189
mkdir $$
190190
cd $$
191191
# see https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site

pom.xml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -247,30 +247,6 @@
247247

248248
</dependencies>
249249

250-
<repositories>
251-
<repository>
252-
<id>spring-libs-snapshot</id>
253-
<url>https://repo.spring.io/libs-snapshot</url>
254-
</repository>
255-
<repository>
256-
<id>sonatype-snapshot</id>
257-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
258-
<snapshots>
259-
<enabled>true</enabled>
260-
</snapshots>
261-
<releases>
262-
<enabled>false</enabled>
263-
</releases>
264-
</repository>
265-
</repositories>
266-
267-
<pluginRepositories>
268-
<pluginRepository>
269-
<id>spring-plugins-release</id>
270-
<url>https://repo.spring.io/plugins-release</url>
271-
</pluginRepository>
272-
</pluginRepositories>
273-
274250
<build>
275251
<plugins>
276252
<plugin>
@@ -342,4 +318,21 @@
342318
</plugin>
343319
</plugins>
344320
</build>
321+
322+
<repositories>
323+
<repository>
324+
<id>spring-snapshot</id>
325+
<url>https://repo.spring.io/snapshot</url>
326+
<snapshots>
327+
<enabled>true</enabled>
328+
</snapshots>
329+
<releases>
330+
<enabled>false</enabled>
331+
</releases>
332+
</repository>
333+
<repository>
334+
<id>spring-milestone</id>
335+
<url>https://repo.spring.io/milestone</url>
336+
</repository>
337+
</repositories>
345338
</project>

src/main/asciidoc/configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Here is an example on how to use the current SNAPSHOT dependency:
3737
</dependency>
3838
3939
<repository>
40-
<id>spring-libs-snapshot</id>
40+
<id>spring-snapshot</id>
4141
<name>Spring Snapshot Repository</name>
4242
<url>https://repo.spring.io/snapshot</url>
4343
</repository>

src/main/asciidoc/preface.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ This reference documentation describes the general usage of the Spring Data Couc
88
== Project Information
99

1010
* Version control - https://github.com/spring-projects/spring-data-couchbase
11-
* Bugtracker - https://jira.springsource.org/browse/DATACOUCH
12-
* Release repository - https://repo.spring.io/libs-release
13-
* Milestone repository - https://repo.spring.io/libs-milestone
14-
* Snapshot repository - https://repo.spring.io/libs-snapshot
11+
* Bugtracker - https://github.com/spring-projects/spring-data-couchbase/issues
12+
* Release repository - https://repo1.maven.org/maven2
13+
* Milestone repository - https://repo.spring.io/milestone
14+
* Snapshot repository - https://repo.spring.io/snapshot
1515

1616
[preface]
1717
include::migrating.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)