Use a fallback if no 'web' dependency is available

Closes gh-435
This commit is contained in:
Stephane Nicoll
2018-05-18 17:24:56 +02:00
parent 5b8c06dab1
commit 8336ee6ef6
3 changed files with 45 additions and 4 deletions

View File

@@ -498,9 +498,11 @@ The same project can now be generated with `dependencies=ws` or
A "facet" is a label on a dependency which is used to drive a code modification in the
generated project. In the standard Initializr generator, there is only one facet that is
actually used (`web`), but custom installations might choose to use it for their own
purposes. The `web` facet is used to drive the inclusion of `spring-boot-starter-web` if
any other dependency with that facet is included. The value of the "facets" property of a
dependency is a list of strings.
purposes. The `web` facet is used to drive the inclusion of a dependency with id `web`
(defaulting to `spring-boot-starter-web` if such dependency is not present) when any other
dependency with that facet is included.
The value of the "facets" property of a dependency is a list of strings.