Skip to content

Commit 9e2aecf

Browse files
committed
Polishing.
Fix required Java version. See #4140
1 parent c32c4be commit 9e2aecf

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ and accessible from Maven using the Maven configuration noted <<maven-configurat
277277
NOTE: Configuration for Gradle is similar to Maven.
278278

279279
The best way to get started is by creating a Spring Boot project using MongoDB on https://start.spring.io[start.spring.io].
280-
Follow this https://start.spring.io/#type=maven-project&language=java&platformVersion=2.5.4&packaging=jar&jvmVersion=1.8&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=data-mongodb[link]
281-
to build an imperative application and this https://start.spring.io/#type=maven-project&language=java&platformVersion=2.5.4&packaging=jar&jvmVersion=1.8&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=data-mongodb-reactive[link]
280+
Follow this https://start.spring.io/#type=maven-project&language=java&platformVersion=3.0.0&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=data-mongodb[link]
281+
to build an imperative application and this https://start.spring.io/#type=maven-project&language=java&platformVersion=3.0.0&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=data-mongodb-reactive[link]
282282
to build a reactive one.
283283

284284
However, if you want to try out the latest and greatest, Spring Data MongoDB can be easily built with the https://github.com/takari/maven-wrapper[Maven wrapper]
@@ -341,7 +341,7 @@ Now you are ready to build Spring Data MongoDB. Simply enter the following `mvnw
341341
$ ./mvnw clean install
342342
----
343343

344-
If you want to build with the regular `mvn` command, you will need https://maven.apache.org/run-maven/index.html[Maven v3.5.0 or above].
344+
If you want to build with the regular `mvn` command, you will need https://maven.apache.org/run-maven/index.html[Maven v3.8.0 or above].
345345

346346
_Also see link:CONTRIBUTING.adoc[CONTRIBUTING.adoc] if you wish to submit pull requests, and in particular, please sign
347347
the https://cla.pivotal.io/sign/spring[Contributor’s Agreement] before your first non-trivial change._

ci/openjdk17-mongodb-4.4/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG MONGODB
66
ENV TZ=Etc/UTC
77
ENV DEBIAN_FRONTEND=noninteractive
88

9-
RUN set -eux && \
9+
RUN set -eux; \
1010
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1111
sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1212
sed -i -e 's/http/https/g' /etc/apt/sources.list && \

ci/openjdk17-mongodb-5.0/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG MONGODB
66
ENV TZ=Etc/UTC
77
ENV DEBIAN_FRONTEND=noninteractive
88

9-
RUN set -eux && \
9+
RUN set -eux; \
1010
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1111
sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1212
sed -i -e 's/http/https/g' /etc/apt/sources.list && \

ci/openjdk17-mongodb-6.0/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG MONGODB
66
ENV TZ=Etc/UTC
77
ENV DEBIAN_FRONTEND=noninteractive
88

9-
RUN set -eux && \
9+
RUN set -eux; \
1010
sed -i -e 's/archive.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1111
sed -i -e 's/security.ubuntu.com/mirror.one.com/g' /etc/apt/sources.list && \
1212
sed -i -e 's/http/https/g' /etc/apt/sources.list && \

src/main/asciidoc/preface.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The starting point for learning about MongoDB is https://www.mongodb.org/[www.mo
3939
[[requirements]]
4040
== Requirements
4141

42-
The Spring Data MongoDB 3.x binaries require JDK level 8.0 and above and https://spring.io/docs[Spring Framework] {springVersion} and above.
42+
The Spring Data MongoDB 4.x binaries require JDK level 17 and above and https://spring.io/docs[Spring Framework] {springVersion} and above.
4343

4444
In terms of document stores, you need at least version 3.6 of https://www.mongodb.org/[MongoDB], though we recommend a more recent version.
4545

0 commit comments

Comments
 (0)