mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix resource directory location
This commit fixes the main resources directory location so that it also works in a multi-projects setup. Fixes gh-993
This commit is contained in:
parent
c2e1676849
commit
a69f518c42
@ -41,7 +41,7 @@
|
||||
<!-- Turn on filtering by default for application properties -->
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<directory>${basedir}/src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>**/application.yml</include>
|
||||
@ -49,7 +49,7 @@
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<directory>${basedir}/src/main/resources</directory>
|
||||
<excludes>
|
||||
<exclude>**/application.yml</exclude>
|
||||
<exclude>**/application.properties</exclude>
|
||||
|
Loading…
Reference in New Issue
Block a user