Commit 8d032143 authored by Phillip Webb's avatar Phillip Webb

Import attributes from appendix files

See gh-12005
parent 8fb181f3
...@@ -1451,7 +1451,8 @@ ...@@ -1451,7 +1451,8 @@
</resource> </resource>
</resources> </resources>
<attributes> <attributes>
<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>
<generated-resources-root>${project.basedir}/target/generated-resources</generated-resources-root> <generated-resources-root>${project.basedir}/target/generated-resources</generated-resources-root>
<spring-boot-repo>${spring-boot-repo}</spring-boot-repo> <spring-boot-repo>${spring-boot-repo}</spring-boot-repo>
<github-tag>${github-tag}</github-tag> <github-tag>${github-tag}</github-tag>
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
[appendix] [appendix]
[[common-application-properties]] [[common-application-properties]]
== Common application properties == Common application properties
include::{asciidoc-sources-root}/attributes.adoc[]
Various properties can be specified inside your `application.properties` file, inside Various properties can be specified inside your `application.properties` file, inside
your `application.yml` file, or as command line switches. This appendix provides a list your `application.yml` file, or as command line switches. This appendix provides a list
of common Spring Boot properties and references to the underlying classes that consume of common Spring Boot properties and references to the underlying classes that consume
......
[appendix] [appendix]
[[auto-configuration-classes]] [[auto-configuration-classes]]
== Auto-configuration classes == Auto-configuration classes
include::{asciidoc-sources-root}/attributes.adoc[]
Here is a list of all auto-configuration classes provided by Spring Boot, with links to Here is a list of all auto-configuration classes provided by Spring Boot, with links to
documentation and source code. Remember to also look at the conditions report in your documentation and source code. Remember to also look at the conditions report in your
application for more details of which features are switched on. application for more details of which features are switched on.
......
[appendix] [appendix]
[[configuration-metadata]] [[configuration-metadata]]
== Configuration Metadata == Configuration Metadata
include::{asciidoc-sources-root}/attributes.adoc[]
Spring Boot jars include metadata files that provide details of all supported Spring Boot jars include metadata files that provide details of all supported
configuration properties. The files are designed to let IDE developers offer configuration properties. The files are designed to let IDE developers offer
contextual help and "`code completion`" as users are working with `application.properties` contextual help and "`code completion`" as users are working with `application.properties`
......
[appendix] [appendix]
[[appendix-dependency-versions]] [[appendix-dependency-versions]]
== Dependency versions == Dependency versions
include::{asciidoc-sources-root}/attributes.adoc[]
The following table provides details of all of the dependency versions that are provided The following table provides details of all of the dependency versions that are provided
by Spring Boot in its CLI (Command Line Interface), Maven dependency management, and by Spring Boot in its CLI (Command Line Interface), Maven dependency management, and
Gradle plugin. When you declare a dependency on one of these artifacts without declaring Gradle plugin. When you declare a dependency on one of these artifacts without declaring
a version, the version listed in the table is used. a version, the version listed in the table is used.
include::{generated-resources-root}/effective-pom.adoc[] include::{generated-resources-root}/effective-pom.adoc[]
\ No newline at end of file
[appendix] [appendix]
[[executable-jar]] [[executable-jar]]
== The Executable Jar Format == The Executable Jar Format
include::{asciidoc-sources-root}/attributes.adoc[]
The `spring-boot-loader` modules lets Spring Boot support executable jar and The `spring-boot-loader` modules lets Spring Boot support executable jar and
war files. If you use the Maven plugin or the Gradle plugin, executable jars are war files. If you use the Maven plugin or the Gradle plugin, executable jars are
automatically generated, and you generally do not need to know the details of how automatically generated, and you generally do not need to know the details of how
......
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
[[test-auto-configuration]] [[test-auto-configuration]]
== Test Auto-configuration Annotations == Test Auto-configuration Annotations
include::{asciidoc-sources-root}/attributes.adoc[]
The following table lists the various `@…Test` annotations that can be used to test The following table lists the various `@…Test` annotations that can be used to test
slices of your application and the auto-configuration that they import by default: slices of your application and the auto-configuration that they import by default:
include::{generated-resources-root}/test-slice-auto-configuration.adoc[] include::{generated-resources-root}/test-slice-auto-configuration.adoc[]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment