Skip to content

Commit

Permalink
starting to work on the filtering of the liquibase.properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
chenry committed Feb 8, 2015
1 parent afb9ae6 commit 2a1547e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,27 @@
<hibernate.version>4.3.0.Final</hibernate.version>
<liquibase.property.file>src/main/resources/liquibase/liquibase.properties</liquibase.property.file>
<skipLiquibaseRun>false</skipLiquibaseRun>
<jdbc.url>jdbc:postgresql://postgres:5432/postgres</jdbc.url>
</properties>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>**/application.yml</include>
<include>**/application.properties</include>
<include>**/liquibase.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/application.yml</exclude>
<exclude>**/application.properties</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/liquibase/liquibase.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
driver: org.postgresql.Driver
url: jdbc:postgresql://postgres:5432/postgres
url: ${jdbc.url}
username: postgres
password: postgres

0 comments on commit 2a1547e

Please sign in to comment.