Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/maven resource filter jdbc #20

Merged
merged 5 commits into from
Feb 8, 2015

Conversation

chenry
Copy link
Contributor

@chenry chenry commented Feb 8, 2015

This will now leverage maven resource filtering to control db url

resolves #8

@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 39147d5 on feature/maven_resource_filter_jdbc into afb9ae6 on develop.

<include>**/application.yml</include>
<include>**/application.properties</include>
<include>**/application-no-web.properties</include>
<include>**/liquibase.properties</include>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chenry What is this wizardry? Resource filtering takes these files from the includes and puts them in /target?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The moving of files happen automatically. The filtering trick will take properties fromnthe pom and put them into the source code so that by the time they are in target/classes they will have the appropriate props based on the profile that was ran.

@mccrackend
Copy link
Contributor

Works on my machine.

mccrackend added a commit that referenced this pull request Feb 8, 2015
…aven_resource_filter_jdbc

Feature/maven resource filter jdbc
@mccrackend mccrackend merged commit 14889e4 into develop Feb 8, 2015
@chenry chenry deleted the feature/maven_resource_filter_jdbc branch February 8, 2015 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maven resource filtering for database properties
3 participants