mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge pull request #4768 from izeye/polish-20151212
* pr/4768: Polish docs
This commit is contained in:
commit
b2f1355e74
@ -170,7 +170,7 @@ methods, and those added using `setSources()` are inspected to see if they have
|
||||
`@PropertySources`, and if they do, those properties are added to the `Environment` early
|
||||
enough to be used in all phases of the `ApplicationContext` lifecycle. Properties added
|
||||
in this way have lower
|
||||
priority than any added using the default locations (e.g. `application.properties), system properties, environment variables or the command line.
|
||||
priority than any added using the default locations (e.g. `application.properties`), system properties, environment variables or the command line.
|
||||
|
||||
You can also provide System properties (or environment variables) to change the behavior:
|
||||
|
||||
|
@ -225,7 +225,7 @@ For example, the following declaration:
|
||||
|
||||
[source,groovy,indent=0]
|
||||
----
|
||||
`@DependencyManagementBom("com.example.custom-bom:1.0.0")`
|
||||
@DependencyManagementBom("com.example.custom-bom:1.0.0")
|
||||
----
|
||||
|
||||
Will pick up `custom-bom-1.0.0.pom` in a Maven repository under
|
||||
@ -236,8 +236,8 @@ For example:
|
||||
|
||||
[source,java,indent=0]
|
||||
----
|
||||
`@DependencyManagementBom(["com.example.custom-bom:1.0.0",
|
||||
"com.example.another-bom:1.0.0"])`
|
||||
@DependencyManagementBom(["com.example.custom-bom:1.0.0",
|
||||
"com.example.another-bom:1.0.0"])
|
||||
----
|
||||
|
||||
indicates that dependency management in `another-bom` will override the dependency
|
||||
|
Loading…
Reference in New Issue
Block a user