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 11 years ago
parent 8f7c96e8f0
commit c451de18f7

@ -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