Skip to content

Commit 88d6b4e

Browse files
committed
Fix maven repo references in README
Closes gh-27
1 parent 9d61b2b commit 88d6b4e

File tree

1 file changed

+56
-7
lines changed

1 file changed

+56
-7
lines changed

README.adoc

Lines changed: 56 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,38 @@ You can use the https://github.com/asciidoctor/asciidoctor-maven-plugin[Asciidoc
3434
</plugin>
3535
----
3636

37+
You will probably also need to add the Spring Maven repository:
38+
39+
[source,xml]
40+
----
41+
<repositories>
42+
<repository>
43+
<id>spring-release</id>
44+
<name>Spring Releases</name>
45+
<url>https://repo.spring.io/release</url>
46+
<snapshots>
47+
<enabled>false</enabled>
48+
</snapshots>
49+
</repository>
50+
</repositories>
51+
----
52+
53+
or for milestones:
54+
55+
[source,xml]
56+
----
57+
<repositories>
58+
<repository>
59+
<id>spring-milestones</id>
60+
<name>Spring Milestones</name>
61+
<url>https://repo.spring.io/milestone</url>
62+
<snapshots>
63+
<enabled>false</enabled>
64+
</snapshots>
65+
</repository>
66+
</repositories>
67+
----
68+
3769

3870

3971
== Gradle build integration
@@ -45,13 +77,6 @@ plugins {
4577
id 'org.asciidoctor.jvm.convert' version '3.1.0'
4678
}
4779
48-
repositories {
49-
mavenCentral()
50-
maven {
51-
url "https://repo.spring.io/release"
52-
}
53-
}
54-
5580
configurations {
5681
asciidoctorExtensions
5782
}
@@ -69,6 +94,30 @@ asciidoctor {
6994
}
7095
----
7196

97+
You will probably also need to add the Spring Maven repository:
98+
99+
[source,gradle]
100+
----
101+
repositories {
102+
mavenCentral()
103+
maven {
104+
url "https://repo.spring.io/release"
105+
}
106+
}
107+
----
108+
109+
or for milestones:
110+
111+
[source,gradle]
112+
----
113+
repositories {
114+
mavenCentral()
115+
maven {
116+
url "https://repo.spring.io/milestone"
117+
}
118+
}
119+
----
120+
72121

73122

74123
== Features

0 commit comments

Comments
 (0)