Version layers configuration xsd
This commit provides a versioned xsd for the layers configuration of the Maven plugin. The version starts at `2.3` to match with the Spring Boot feature release in which this was introduced. Closes gh-20663
This commit is contained in:
@@ -144,7 +144,7 @@ The following example shows what the implicit layer configuration described abov
|
||||
<layers-configuration xmlns="http://www.springframework.org/schema/boot/layers"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||
https://www.springframework.org/schema/boot/layers/layers-configuration.xsd">
|
||||
https://www.springframework.org/schema/boot/layers/layers-configuration-{spring-boot-xsd-version}.xsd">
|
||||
<layers>
|
||||
<layer>dependencies</layer>
|
||||
<layer>snapshot-dependencies</layer>
|
||||
@@ -554,7 +554,7 @@ This allows to reuse the cache for external dependencies when an internal depend
|
||||
<layers-configuration xmlns="http://www.springframework.org/schema/boot/layers"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||
https://www.springframework.org/schema/boot/layers/layers-configuration.xsd">
|
||||
https://www.springframework.org/schema/boot/layers/layers-configuration-{spring-boot-xsd-version}.xsd">
|
||||
<layers>
|
||||
<layer>application</layer>
|
||||
<layer>resources</layer>
|
||||
|
||||
Reference in New Issue
Block a user