Import attributes from appendix files
See gh-12005
This commit is contained in:
@@ -1451,7 +1451,8 @@
|
||||
</resource>
|
||||
</resources>
|
||||
<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>
|
||||
<spring-boot-repo>${spring-boot-repo}</spring-boot-repo>
|
||||
<github-tag>${github-tag}</github-tag>
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
[appendix]
|
||||
[[common-application-properties]]
|
||||
== Common application properties
|
||||
|
||||
include::{asciidoc-sources-root}/attributes.adoc[]
|
||||
|
||||
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
|
||||
of common Spring Boot properties and references to the underlying classes that consume
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
[appendix]
|
||||
[[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
|
||||
documentation and source code. Remember to also look at the conditions report in your
|
||||
application for more details of which features are switched on.
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
[appendix]
|
||||
[[configuration-metadata]]
|
||||
== Configuration Metadata
|
||||
|
||||
include::{asciidoc-sources-root}/attributes.adoc[]
|
||||
|
||||
Spring Boot jars include metadata files that provide details of all supported
|
||||
configuration properties. The files are designed to let IDE developers offer
|
||||
contextual help and "`code completion`" as users are working with `application.properties`
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
[appendix]
|
||||
[[appendix-dependency-versions]]
|
||||
== Dependency versions
|
||||
|
||||
include::{asciidoc-sources-root}/attributes.adoc[]
|
||||
|
||||
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
|
||||
Gradle plugin. When you declare a dependency on one of these artifacts without declaring
|
||||
a version, the version listed in the table is used.
|
||||
|
||||
include::{generated-resources-root}/effective-pom.adoc[]
|
||||
include::{generated-resources-root}/effective-pom.adoc[]
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
[appendix]
|
||||
[[executable-jar]]
|
||||
== The Executable Jar Format
|
||||
|
||||
include::{asciidoc-sources-root}/attributes.adoc[]
|
||||
|
||||
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
|
||||
automatically generated, and you generally do not need to know the details of how
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
[[test-auto-configuration]]
|
||||
== Test Auto-configuration Annotations
|
||||
|
||||
include::{asciidoc-sources-root}/attributes.adoc[]
|
||||
|
||||
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:
|
||||
|
||||
include::{generated-resources-root}/test-slice-auto-configuration.adoc[]
|
||||
include::{generated-resources-root}/test-slice-auto-configuration.adoc[]
|
||||
|
||||
Reference in New Issue
Block a user