Remove Java 9 support

To align with Oracle's support policy, this commit only keeps Java 8 and
10. This effectively removes 1.7 as well.

Closes gh-662
This commit is contained in:
Stephane Nicoll
2018-05-18 16:32:42 +02:00
parent f906428fe9
commit 7802176faa
5 changed files with 8 additions and 13 deletions

View File

@@ -167,15 +167,15 @@ UI. This also drives how the meta-data for your instance are generated and tooli
support is meant to react to that.
For instance, if you want your groupId to default to `org.acme` and the
`javaVersions` to only be `1.7` and `1.8` you would write the following config:
`javaVersions` to only be `1.8` and `10` you would write the following config:
```yml
initializr:
groupId:
value: org.acme
javaVersions:
- id: 10
default: false
- id: 1.8
default: true
- id: 1.7
default: false
```

View File

@@ -142,7 +142,7 @@ https://start.spring.io/#!language=kotlin&type=gradle-project
The following attributes are supported:
* Programming language: `language` (`java`, `groovy` or `kotlin`)
* Java version: `javaVersion` (`1.6`, `1.7`, `1.8`)
* Java version: `javaVersion` (`1.8`, `10`)
* Project type: `type` (`maven-project`, `gradle-project`)
* Packaging: `packaging` (`jar`, `war`)
* Group: `groupId`

View File

@@ -1,9 +1,9 @@
To create a default demo.zip:
$ curl {{serviceUrl}}/starter.zip -o demo.zip
To create a web project using Java 7:
To create a web project using Java 10:
$ curl {{serviceUrl}}/starter.zip -d dependencies=web \\
-d javaVersion=1.7 -o demo.zip
-d javaVersion=10 -o demo.zip
To create a web/data-jpa gradle project unpacked:
$ curl {{serviceUrl}}/starter.tgz -d dependencies=web,data-jpa \\

View File

@@ -1,9 +1,9 @@
To create a default project:
$ http {{serviceUrl}}/starter.zip -d
To create a web project using Java 7:
To create a web project using Java 10:
$ http {{serviceUrl}}/starter.zip dependencies==web \\
javaVersion==1.7 -d
javaVersion==10 -d
To create a web/data-jpa gradle project unpacked:
$ http {{serviceUrl}}/starter.tgz dependencies==web,data-jpa \\

View File

@@ -1335,14 +1335,9 @@ initializr:
javaVersions:
- id: 10
default: false
- id: 9
default: false
- id: 1.8
name: 8
default: true
- id: 1.7
name: 7
default: false
languages:
- name: Java
id: java