Allow to define "non starter" dependency

Previously, all dependencies were considered equal and enough to compile
and start the simple auto-generated boot application. There are some
corner cases such as the JDBC drivers and the new Ratpack integration.

This commit adds an extra flag on a dependency that determines if it is
a starter or not (the default is true). When no starter dependency has
been selected for the project, the root starter (`spring-boot-starter`)
is automatically added.

Closes gh-159
This commit is contained in:
Stephane Nicoll
2015-11-16 10:44:45 +01:00
parent e2d54bc03f
commit f5e2de8f61
5 changed files with 55 additions and 3 deletions

View File

@@ -88,10 +88,11 @@ initializr:
- name: Ratpack
id: ratpack
description: Spring Boot integration for the Ratpack framework
versionRange: 1.2.0.RELEASE
version: 1.1.1
groupId: io.ratpack
artifactId: ratpack-spring-boot
version: 1.1.1
versionRange: 1.2.0.RELEASE
starter: false
- name: Vaadin
id: vaadin
facets:
@@ -449,12 +450,14 @@ initializr:
groupId: com.h2database
artifactId: h2
scope: runtime
starter: false
- name: HSQLDB
id: hsql
description: HSQLDB database (with embedded support)
groupId: org.hsqldb
artifactId: hsqldb
scope: runtime
starter: false
- name: Apache Derby
id: derby
description: Apache Derby database (with embedded support)
@@ -462,12 +465,14 @@ initializr:
artifactId: derby
scope: runtime
versionRange: 1.2.2.RELEASE
starter: false
- name: MySQL
id: mysql
description: MySQL jdbc driver
groupId: mysql
artifactId: mysql-connector-java
scope: runtime
starter: false
- name: PostgreSQL
id: postgresql
description: PostgreSQL jdbc driver
@@ -475,6 +480,7 @@ initializr:
artifactId: postgresql
version: 9.4-1201-jdbc41
scope: runtime
starter: false
- name: Social
content:
- name: Facebook