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

Flyway is looking for actual url while building the application #40328

Closed
amit-kumaryadav opened this issue Apr 12, 2024 · 1 comment
Closed
Labels
for: stackoverflow A question that's better suited to stackoverflow.com status: invalid An issue that we don't feel is valid

Comments

@amit-kumaryadav
Copy link

amit-kumaryadav commented Apr 12, 2024

We are using the flyway core dependency with spring boot 3.2.4 version. But when we are trying to build the application by (mvn clean verify -DskipUTs) Integration test phase and mvn clean install (making the jar of application). Flyway is looking for actual postgres url. Attached the application.yaml, pom.xml and log.txt
application.txt
log.txt
pom.txt

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 12, 2024
@wilkinsona
Copy link
Member

That's to be expected as you do not appear to have provided any test-specific database configuration. For example, you could use Testcontainers to create a Postgres instance in a Docker container for testing.

If you have any further questions, please follow up on Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.

@wilkinsona wilkinsona closed this as not planned Won't fix, can't repro, duplicate, stale Apr 12, 2024
@wilkinsona wilkinsona added status: invalid An issue that we don't feel is valid for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants