/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.

Primary LanguageJavaApache License 2.0Apache-2.0

Release Build Status Linux Build Status Windows Build Status Codacy Badge Maven Central GitHub All Releases GitHub issues Apache License, Version 2.0 Follow Me On X/Twitter

Zonky Plugin for Maven

What is Zonky Maven Plugin?

This plugin helps you to start an embedded PostgreSQL database with the help of the Zonky 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.

Known issues

Please check the open GitHub Issues and see here

Feedback

Provide defects, requests for enhancements or general feedback at the GitHub 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).

Changelog

You can find the changelog of all versions here

Licensing

This plugin is licensed under the Apache License, Version 2.0. This plugin uses third-party libraries, which are needed to provide its functionality, please check their licenses here.

Support

Keep this project alive by supporting it: one-time Donate or Patreon! or become a Sponsor or just Buy me a drink

If you can't or don't want to spend money you can also just say thanks