https://github.com/funfried/zonky-maven-plugin
This Maven plugin helps you to start an embedded PostgreSQL database with the help of the Zonky Embedded Postgres project. It's intended to help you running your database migration scripts (e.g. Liquibase or Flyway) or other database related tasks during build time against a production near database.
https://github.com/funfried/zonky-maven-plugin
database embedded-database maven-plugin postgres postgresql zonky
Last synced: 5 months ago
JSON representation
This Maven plugin helps you to start an embedded PostgreSQL database with the help of the Zonky Embedded Postgres project. It's intended to help you running your database migration scripts (e.g. Liquibase or Flyway) or other database related tasks during build time against a production near database.
- Host: GitHub
- URL: https://github.com/funfried/zonky-maven-plugin
- Owner: funfried
- License: apache-2.0
- Created: 2024-04-03T09:13:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-10T06:27:54.000Z (over 1 year ago)
- Last Synced: 2026-01-16T18:58:54.817Z (6 months ago)
- Topics: database, embedded-database, maven-plugin, postgres, postgresql, zonky
- Language: Java
- Homepage: https://funfried.github.io/zonky-maven-plugin/
- Size: 922 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/funfried/zonky-maven-plugin/actions/workflows/release_maven.yml)
[](https://github.com/funfried/zonky-maven-plugin/actions/workflows/linux_maven.yml)
[](https://github.com/funfried/zonky-maven-plugin/actions/workflows/windows_maven.yml)
[](https://www.codacy.com/gh/funfried/zonky-maven-plugin/dashboard?utm_source=github.com&utm_medium=referral&utm_content=funfried/zonky-maven-plugin&utm_campaign=Badge_Grade)
[](https://repo1.maven.org/maven2/de/funfried/maven/plugins/zonky-maven-plugin/)
[](https://github.com/funfried/zonky-maven-plugin/releases)
[](https://github.com/funfried/zonky-maven-plugin/issues)
[](http://funfried.github.io/zonky-maven-plugin/licenses.html)
[](https://twitter.com/funfried84)
Zonky Plugin for Maven
================================================
What is Zonky Maven Plugin?
----------------------------------------------------
This plugin helps you to start an embedded [PostgreSQL](https://www.postgresql.org/) database with the help of the [Zonky Embedded Postgres](https://github.com/zonkyio/embedded-postgres) project.
This plugin is intended to help you running your database migration scripts (e.g. Liquibase or Flyway) or other database related tasks during build time against a production near database.
### Features
* Start and stop an embedded Postgres database during any maven lifecycle phase
* Create your database schema when the embedded database starts up
* Use a fixed or a random port for the embedded database (the random port will be written into a Maven variable `zonky.port` besides others)
* Customize the work and data directory of the embedded database
Compatibility
-------------
Compatible with JDK 8+ and Maven >= 3.9.5
Downloads
---------
The latest version should always be available in Maven Central, but just in case you can find the download links [here](http://funfried.github.io/zonky-maven-plugin/downloads.html).
Known issues
------------
Please check the open [GitHub Issues](/../../issues) and see [here](http://funfried.github.io/zonky-maven-plugin/known_issues.html)
Feedback
--------
Provide defects, requests for enhancements or general feedback at the [GitHub issues](/../../issues) page.
Please check the known issues (see above) before you create an issue and check if your issue also appears in the latest development version (download links can be found [here](http://funfried.github.io/zonky-maven-plugin/downloads.html)).
Changelog
---------
You can find the changelog of all versions [here](http://funfried.github.io/zonky-maven-plugin/changes-report.html)
Licensing
---------
This plugin is licensed under the [Apache License, Version 2.0](http://funfried.github.io/zonky-maven-plugin/licenses.html).
This plugin uses third-party libraries, which are needed to provide its functionality, please check their licenses [here](https://funfried.github.io/zonky-maven-plugin/dependencies.html).
Support
---------
Keep this project alive by supporting it:
one-time [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=926F5XBCTK2LQ&source=url) or [](https://www.patreon.com/funfried) or become a [](https://github.com/sponsors/funfried) or just [](https://www.buymeacoffee.com/funfried)
If you can't or don't want to spend money you can also just [](https://saythanks.io/to/funfried)