Browse Source

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
(cherry picked from commit a69f518)
pull/3074/head
Stephane Nicoll 12 years ago
parent
commit
c451de18f7
  1. 4
      spring-boot-starters/spring-boot-starter-parent/pom.xml

4
spring-boot-starters/spring-boot-starter-parent/pom.xml

@ -185,7 +185,7 @@
<!-- Turn on filtering by default for application properties --> <!-- Turn on filtering by default for application properties -->
<resources> <resources>
<resource> <resource>
<directory>src/main/resources</directory> <directory>${basedir}/src/main/resources</directory>
<filtering>true</filtering> <filtering>true</filtering>
<includes> <includes>
<include>**/application.yml</include> <include>**/application.yml</include>
@ -193,7 +193,7 @@
</includes> </includes>
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>${basedir}/src/main/resources</directory>
<excludes> <excludes>
<exclude>**/application.yml</exclude> <exclude>**/application.yml</exclude>
<exclude>**/application.properties</exclude> <exclude>**/application.properties</exclude>

Loading…
Cancel
Save