Use asciidoc property to specify spring boot version in Initializr

Address review comments
This commit is contained in:
Ilayaperumal Gopinathan
2016-10-06 11:55:12 +05:30
committed by Soby Chacko
parent 5d2860bc53
commit bfad7b81a7
2 changed files with 4 additions and 1 deletions

View File

@@ -103,6 +103,7 @@
<spring-cloud-stream-version>${project.version}</spring-cloud-stream-version>
<spring-cloud-stream-docs-version>${project.version}</spring-cloud-stream-docs-version>
<github-tag>${github-tag}</github-tag>
<supported-spring-boot-version>${spring-boot.version}</supported-spring-boot-version>
</attributes>
</configuration>
</execution>

View File

@@ -1538,7 +1538,9 @@ For Spring Cloud Stream samples, please refer to the https://github.com/spring-c
== Getting Started
To get started with creating Spring Cloud Stream applications, visit the https://start.spring.io[Spring Initializr] and create a new Maven project named "GreetingSource". Note that Spring Cloud Stream applications are known to work with Spring Boot versions 1.3.x and 1.4.x. In the _Search for dependencies_ text box type `Stream Rabbit` or `Stream Kafka` depending on what binder you want to use.
To get started with creating Spring Cloud Stream applications, visit the https://start.spring.io[Spring Initializr] and create a new Maven project named "GreetingSource".
Select Spring Boot {supported-spring-boot-version} in the dropdown.
In the _Search for dependencies_ text box type `Stream Rabbit` or `Stream Kafka` depending on what binder you want to use.
Next, create a new class, `GreetingSource`, in the same package as the `GreetingSourceApplication` class.
Give it the following code: