Merge branch '2.1.x'

pull/18077/head
Phillip Webb 5 years ago
commit f69b2669b3

@ -1451,7 +1451,7 @@
</resource> </resource>
</resources> </resources>
<attributes> <attributes>
<spring-boot-repo>${spring-boot-repo}</spring-boot-repo> <spring-boot-artifactory-repo>${spring-boot-artifactory-repo}</spring-boot-artifactory-repo>
<github-tag>${github-tag}</github-tag> <github-tag>${github-tag}</github-tag>
<sources-root>${project.basedir}/src</sources-root> <sources-root>${project.basedir}/src</sources-root>
<asciidoc-sources-root>${project.basedir}/src/main/asciidoc</asciidoc-sources-root> <asciidoc-sources-root>${project.basedir}/src/main/asciidoc</asciidoc-sources-root>
@ -1613,7 +1613,7 @@
input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" />
<propertyregex property="version-type" override="true" <propertyregex property="version-type" override="true"
input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" />
<stringutil string="${version-type}" property="spring-boot-repo"> <stringutil string="${version-type}" property="spring-boot-artifactory-repo">
<lowercase /> <lowercase />
</stringutil> </stringutil>
<var name="github-tag" value="v${revision}" /> <var name="github-tag" value="v${revision}" />

@ -11,7 +11,7 @@
:hide-uri-scheme: :hide-uri-scheme:
:docinfo: shared,private :docinfo: shared,private
:spring-boot-repo: snapshot :spring-boot-artifactory-repo: snapshot
:github-tag: master :github-tag: master
:spring-boot-version: current :spring-boot-version: current
@ -52,29 +52,45 @@
:spring-boot-test-autoconfigure-module-api: {spring-boot-api}/org/springframework/boot/test/autoconfigure :spring-boot-test-autoconfigure-module-api: {spring-boot-api}/org/springframework/boot/test/autoconfigure
:spring-amqp-api: https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp :spring-amqp-api: https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp
:spring-batch: https://spring.io/projects/spring-batch
:spring-batch-api: https://docs.spring.io/spring-batch/apidocs/org/springframework/batch :spring-batch-api: https://docs.spring.io/spring-batch/apidocs/org/springframework/batch
:spring-data: https://projects.spring.io/spring-data/ :spring-data: https://spring.io/projects/spring-data
:spring-data-cassandra: https://spring.io/projects/spring-data-cassandra
:spring-data-commons-api: https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data :spring-data-commons-api: https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data
:spring-data-couchbase: https://spring.io/projects/spring-data-couchbase
:spring-data-elasticsearch: https://spring.io/projects/spring-data-elasticsearch :spring-data-elasticsearch: https://spring.io/projects/spring-data-elasticsearch
:spring-data-elasticsearch-docs: https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/ :spring-data-elasticsearch-docs: https://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/
:spring-data-jpa: https://projects.spring.io/spring-data-jpa/ :spring-data-gemfire: https://spring.io/projects/spring-data-gemfire
:spring-data-geode: https://spring.io/projects/spring-data-geode
:spring-data-jpa: https://spring.io/projects/spring-data-jpa
:spring-data-jpa-api: https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa :spring-data-jpa-api: https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa
:spring-data-mongodb: https://projects.spring.io/spring-data-mongodb/ :spring-data-jdbc-docs: https://docs.spring.io/spring-data/jdbc/docs/current/reference/html/
:spring-data-ldap: https://spring.io/projects/spring-data-ldap
:spring-data-mongodb: https://spring.io/projects/spring-data-mongodb
:spring-data-mongodb-api: https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb :spring-data-mongodb-api: https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb
:spring-data-neo4j: https://spring.io/projects/spring-data-neo4j
:spring-data-neo4j-docs: https://docs.spring.io/spring-data/neo4j/docs/current/reference/html/
:spring-data-redis: https://spring.io/projects/spring-data-redis
:spring-data-rest-api: https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest :spring-data-rest-api: https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest
:spring-framework: https://projects.spring.io/spring-framework/ :spring-data-solr: https://spring.io/projects/spring-data-solr
:spring-data-solr-docs: https://docs.spring.io/spring-data/solr/docs/current/reference/html/
:spring-framework: https://spring.io/projects/spring-framework
:spring-framework-api: https://docs.spring.io/spring/docs/{spring-framework-version}/javadoc-api/org/springframework :spring-framework-api: https://docs.spring.io/spring/docs/{spring-framework-version}/javadoc-api/org/springframework
:spring-framework-docs: https://docs.spring.io/spring/docs/{spring-framework-version}/spring-framework-reference/ :spring-framework-docs: https://docs.spring.io/spring/docs/{spring-framework-version}/spring-framework-reference/
:spring-initializr-docs: https://docs.spring.io/initializr/docs/current/reference/html :spring-initializr-docs: https://docs.spring.io/initializr/docs/current/reference/html
:spring-integration: https://projects.spring.io/spring-integration/ :spring-integration: https://spring.io/projects/spring-integration
:spring-integration-docs: https://docs.spring.io/spring-integration/docs/{spring-integration-version}/reference/html :spring-integration-docs: https://docs.spring.io/spring-integration/docs/{spring-integration-version}/reference/html
:spring-restdocs: https://projects.spring.io/spring-restdocs/ :spring-restdocs: https://spring.io/projects/spring-restdocs
:spring-security: https://projects.spring.io/spring-security/ :spring-security: https://spring.io/projects/spring-security
:spring-security-docs: https://docs.spring.io/spring-security/site/docs/{spring-security-version}/reference/htmlsingle :spring-security-docs: https://docs.spring.io/spring-security/site/docs/{spring-security-version}/reference/htmlsingle
:spring-security-oauth2: https://spring.io/projects/spring-security-oauth
:spring-security-oauth2-docs: https://projects.spring.io/spring-security-oauth/docs/oauth2.html :spring-security-oauth2-docs: https://projects.spring.io/spring-security-oauth/docs/oauth2.html
:spring-session: https://projects.spring.io/spring-session/ :spring-session: https://spring.io/projects/spring-session
:spring-webservices-docs: https://docs.spring.io/spring-ws/docs/{spring-webservices-version}/reference/ :spring-webservices-docs: https://docs.spring.io/spring-ws/docs/{spring-webservices-version}/reference/
:ant-docs: https://ant.apache.org/manual :ant-docs: https://ant.apache.org/manual
:dependency-management-plugin-code: https://github.com/spring-gradle-plugins/dependency-management-plugin :dependency-management-plugin-code: https://github.com/spring-gradle-plugins/dependency-management-plugin
:gradle-docs: https://docs.gradle.org/4.2.1/userguide :gradle-docs: https://docs.gradle.org/4.2.1/userguide

@ -146,7 +146,7 @@ The following listing shows a typical `pom.xml` file:
</plugins> </plugins>
</build> </build>
ifeval::["{spring-boot-repo}" != "release"] ifeval::["{spring-boot-artifactory-repo}" != "release"]
<!-- Add Spring repositories --> <!-- Add Spring repositories -->
<!-- (you don't need this if you are using a .RELEASE version) --> <!-- (you don't need this if you are using a .RELEASE version) -->
<repositories> <repositories>
@ -213,8 +213,8 @@ You do not need to use the CLI to work with Spring Boot, but it is definitely th
==== Manual Installation ==== Manual Installation
You can download the Spring CLI distribution from the Spring software repository: You can download the Spring CLI distribution from the Spring software repository:
* https://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip] * https://repo.spring.io/{spring-boot-artifactory-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip]
* https://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz] * https://repo.spring.io/{spring-boot-artifactory-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz]
Cutting edge Cutting edge
https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions] are also available. https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot distributions] are also available.
@ -462,7 +462,7 @@ Open your favorite text editor and add the following:
<!-- Additional lines to be added here... --> <!-- Additional lines to be added here... -->
ifeval::["{spring-boot-repo}" != "release"] ifeval::["{spring-boot-artifactory-repo}" != "release"]
<!-- (you don't need this if you are using a .RELEASE version) --> <!-- (you don't need this if you are using a .RELEASE version) -->
<repositories> <repositories>
<repository> <repository>

@ -2025,7 +2025,7 @@ If you do so and want two data sources, remember to create another one and mark
To take greater control, implement `BatchConfigurer`. To take greater control, implement `BatchConfigurer`.
See {spring-batch-api}/core/configuration/annotation/EnableBatchProcessing.html[The Javadoc of `@EnableBatchProcessing`] for more details. See {spring-batch-api}/core/configuration/annotation/EnableBatchProcessing.html[The Javadoc of `@EnableBatchProcessing`] for more details.
For more about Spring Batch, see the https://projects.spring.io/spring-batch/[Spring Batch project page]. For more about Spring Batch, see the {spring-batch}[Spring Batch project page].

@ -3225,7 +3225,7 @@ Alternatively, you can define your own `OpaqueTokenIntrospector` bean for servle
==== Authorization Server ==== Authorization Server
Currently, Spring Security does not provide support for implementing an OAuth 2.0 Authorization Server. Currently, Spring Security does not provide support for implementing an OAuth 2.0 Authorization Server.
However, this functionality is available from the https://projects.spring.io/spring-security-oauth/[Spring Security OAuth] project, which will eventually be superseded by Spring Security completely. However, this functionality is available from the {spring-security-oauth2}[Spring Security OAuth] project, which will eventually be superseded by Spring Security completely.
Until then, you can use the `spring-security-oauth2-autoconfigure` module to easily set up an OAuth 2.0 authorization server; see its https://docs.spring.io/spring-security-oauth2-boot[documentation] for instructions. Until then, you can use the `spring-security-oauth2-autoconfigure` module to easily set up an OAuth 2.0 authorization server; see its https://docs.spring.io/spring-security-oauth2-boot[documentation] for instructions.
@ -3575,7 +3575,7 @@ Spring Boot will auto-configure Spring Data's JDBC repositories when the necessa
They can be added to your project with a single dependency on `spring-boot-starter-data-jdbc`. They can be added to your project with a single dependency on `spring-boot-starter-data-jdbc`.
If necessary, you can take control of Spring Data JDBC's configuration by adding the `@EnableJdbcRepositories` annotation or a `JdbcConfiguration` subclass to your application. If necessary, you can take control of Spring Data JDBC's configuration by adding the `@EnableJdbcRepositories` annotation or a `JdbcConfiguration` subclass to your application.
TIP: For complete details of Spring Data JDBC, please refer to the https://projects.spring.io/spring-data-jdbc/[reference documentation]. TIP: For complete details of Spring Data JDBC, please refer to the {spring-data-jdbc-docs}[reference documentation].
@ -3707,19 +3707,19 @@ You can also create your own `org.jooq.Configuration` `@Bean` if you want to tak
== Working with NoSQL Technologies == Working with NoSQL Technologies
Spring Data provides additional projects that help you access a variety of NoSQL technologies, including: Spring Data provides additional projects that help you access a variety of NoSQL technologies, including:
* https://spring.io/projects/spring-data-mongodb[MongoDB] * {spring-data-mongodb}[MongoDB]
* https://spring.io/projects/spring-data-neo4j[Neo4J] * {spring-data-neo4j}[Neo4J]
* https://spring.io/projects/spring-data-elasticsearch[Elasticsearch] * {spring-data-elasticsearch}[Elasticsearch]
* https://spring.io/projects/spring-data-solr[Solr] * {spring-data-solr}[Solr]
* https://spring.io/projects/spring-data-redis[Redis] * {spring-data-redis}[Redis]
* https://spring.io/projects/spring-data-gemfire[Gemfire] or https://spring.io/projects/spring-data-geode[Geode] * {spring-data-gemfire}[Gemfire] or {spring-data-geode}[Geode]
* https://spring.io/projects/spring-data-cassandra[Cassandra] * {spring-data-cassandra}[Cassandra]
* https://spring.io/projects/spring-data-couchbase[Couchbase] * {spring-data-couchbase}[Couchbase]
* https://spring.io/projects/spring-data-ldap[LDAP] * {spring-data-ldap}[LDAP]
Spring Boot provides auto-configuration for Redis, MongoDB, Neo4j, Elasticsearch, Solr Cassandra, Couchbase, and LDAP. Spring Boot provides auto-configuration for Redis, MongoDB, Neo4j, Elasticsearch, Solr Cassandra, Couchbase, and LDAP.
You can make use of the other projects, but you must configure them yourself. You can make use of the other projects, but you must configure them yourself.
Refer to the appropriate reference documentation at https://projects.spring.io/spring-data[projects.spring.io/spring-data]. Refer to the appropriate reference documentation at {spring-data}.
@ -4026,7 +4026,7 @@ You could take the JPA example from earlier and define `City` as Neo4j OGM `@Nod
The `spring-boot-starter-data-neo4j` "`Starter`" enables the repository support as well as transaction management. The `spring-boot-starter-data-neo4j` "`Starter`" enables the repository support as well as transaction management.
You can customize the locations to look for repositories and entities by using `@EnableNeo4jRepositories` and `@EntityScan` respectively on a `@Configuration`-bean. You can customize the locations to look for repositories and entities by using `@EnableNeo4jRepositories` and `@EntityScan` respectively on a `@Configuration`-bean.
TIP: For complete details of Spring Data Neo4j, including its object mapping technologies, refer to the https://projects.spring.io/spring-data-neo4j/[reference documentation]. TIP: For complete details of Spring Data Neo4j, including its object mapping technologies, refer to the {spring-data-neo4j-docs}[reference documentation].
@ -4073,7 +4073,7 @@ As with the JPA repositories discussed earlier, the basic principle is that quer
In fact, both Spring Data JPA and Spring Data Solr share the same common infrastructure. In fact, both Spring Data JPA and Spring Data Solr share the same common infrastructure.
You could take the JPA example from earlier and, assuming that `City` is now a `@SolrDocument` class rather than a JPA `@Entity`, it works in the same way. You could take the JPA example from earlier and, assuming that `City` is now a `@SolrDocument` class rather than a JPA `@Entity`, it works in the same way.
IP: For complete details of Spring Data Solr, refer to the https://projects.spring.io/spring-data-solr/[reference documentation]. IP: For complete details of Spring Data Solr, refer to the {spring-data-solr-docs}[reference documentation].

Loading…
Cancel
Save