https://github.com/ryarnyah/dblock-maven-plugin
SQL Database Backwards Compatibility Maven plugin
https://github.com/ryarnyah/dblock-maven-plugin
backward-compatibility databases dblock maven-plugin mssql mysql postgres postgresql
Last synced: 3 months ago
JSON representation
SQL Database Backwards Compatibility Maven plugin
- Host: GitHub
- URL: https://github.com/ryarnyah/dblock-maven-plugin
- Owner: ryarnyah
- License: mit
- Created: 2020-10-12T19:47:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T09:25:34.000Z (over 5 years ago)
- Last Synced: 2025-07-19T16:30:57.155Z (11 months ago)
- Topics: backward-compatibility, databases, dblock, maven-plugin, mssql, mysql, postgres, postgresql
- Language: Java
- Homepage:
- Size: 4.64 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ryarnyah/dblock-maven-plugin)
DBLock Version: [0.4.5](https://github.com/ryarnyah/dblock/releases/tag/0.4.5)
# DBLock Backwards Compatibility Check Maven Plugin
The dblock-maven-plugin plugin is a Maven plugin to run a backwards compatibility
check SQL databases. The plugin can be integrated after database schema update.
After first execution, then plugin generate a `db.lock` file and check againts it
for the nexts.
It is also possible to force any breaking changes and reset the current state
by deleting or altering the db.lock file. It will then reinitialize the next time the
plugin is run.
#### Maintaining Backwards Compatibility
In order to maintain backwards compatibility for your databases, a few
rules must be followed when making updates. Please refer here to avoid breaking changes:
https://github.com/ryarnyah/dblock/blob/master/README.md
## Usage
```xml
com.github.ryarnyah
dblock-maven-plugin
1.0.0
POSTGRES
public
host=localhost port=5432 user=postgres dbname=test sslmode=disable password=postgres
.dblock.lock
backwards-compatibility-check
```
## Configuration
* `` (default to `POSTGRES`) - must be a value of `POSTGRES`, `MYSQL`, `MSSQL`.
* `` (default to `.*`) - regex to match schema(s) to check.
* `` (empty) - Database connetion info (See https://github.com/ryarnyah/dblock/blob/master/README.md for format)
* `` (default to `db.lock`) - File path to lock file.