Convert spring-boot-up to spring-boot-starter
This commit is contained in:
parent
b597faada0
commit
5d2e49c5db
|
@ -41,7 +41,7 @@ Next, you write a SQL script to create a table to store the data.
|
||||||
|
|
||||||
<@snippet path="src/main/resources/schema-all.sql" prefix="initial"/>
|
<@snippet path="src/main/resources/schema-all.sql" prefix="initial"/>
|
||||||
|
|
||||||
> **Note:** Spring Zero runs `schema-@@platform@@.sql` automatically during startup. `-all` is the default for all platforms.
|
> **Note:** Spring Boot runs `schema-@@platform@@.sql` automatically during startup. `-all` is the default for all platforms.
|
||||||
|
|
||||||
<a name="initial"></a>
|
<a name="initial"></a>
|
||||||
Create a business class
|
Create a business class
|
||||||
|
|
|
@ -62,14 +62,14 @@ In a project directory of your choosing, create the following subdirectory struc
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-batch</artifactId>
|
<artifactId>spring-boot-starter-batch</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
|
@ -99,7 +99,7 @@ In a project directory of your choosing, create the following subdirectory struc
|
||||||
</project>
|
</project>
|
||||||
```
|
```
|
||||||
|
|
||||||
TODO: mention that we're using Spring Boot's [_starter POMs_](../gs-bootstrap-starter) here.
|
This guide is using [Spring Boot's starter POMs](/guides/gs/spring-boot/content).
|
||||||
|
|
||||||
Note to experienced Maven users who are unaccustomed to using an external parent project: you can take it out later, it's just there to reduce the amount of code you have to write to get started.
|
Note to experienced Maven users who are unaccustomed to using an external parent project: you can take it out later, it's just there to reduce the amount of code you have to write to get started.
|
||||||
|
|
||||||
|
@ -133,7 +133,7 @@ CREATE TABLE people (
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note:** Spring Zero runs `schema-@@platform@@.sql` automatically during startup. `-all` is the default for all platforms.
|
> **Note:** Spring Boot runs `schema-@@platform@@.sql` automatically during startup. `-all` is the default for all platforms.
|
||||||
|
|
||||||
<a name="initial"></a>
|
<a name="initial"></a>
|
||||||
Create a business class
|
Create a business class
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-batch</artifactId>
|
<artifactId>spring-boot-starter-batch</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-up-batch</artifactId>
|
<artifactId>spring-boot-starter-batch</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hsqldb</groupId>
|
<groupId>org.hsqldb</groupId>
|
||||||
|
|
Loading…
Reference in New Issue