Skip to content

Commit

Permalink
no web application properties is now being filtered.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenry committed Feb 8, 2015
1 parent 2a1547e commit 8c27ec5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,19 @@
<jdbc.url>jdbc:postgresql://postgres:5432/postgres</jdbc.url>
</properties>
<build>
<!--
This resources block was taken from the Spring parent project.
The only change that wanted to make was to include the liquibase.properties file.
I carried the others forward just in case I ran into issues.
-->
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>**/application.yml</include>
<include>**/application.properties</include>
<include>**/application-no-web.properties</include>
<include>**/liquibase.properties</include>
</includes>
</resource>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-no-web.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.jpa.hibernate.ddl-auto=validate
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.url=${jdbc.url}
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driverClassName=org.postgresql.Driver

0 comments on commit 8c27ec5

Please sign in to comment.