https://github.com/flyway/flyway-ant
Flyway Ant tasks
https://github.com/flyway/flyway-ant
ant ant-task continuous-delivery continuous-deployment database database-migrations flyway
Last synced: about 1 month ago
JSON representation
Flyway Ant tasks
- Host: GitHub
- URL: https://github.com/flyway/flyway-ant
- Owner: flyway
- License: apache-2.0
- Created: 2017-11-30T14:39:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-13T15:37:11.000Z (3 months ago)
- Last Synced: 2025-03-01T07:23:27.487Z (about 2 months ago)
- Topics: ant, ant-task, continuous-delivery, continuous-deployment, database, database-migrations, flyway
- Language: Java
- Homepage:
- Size: 10.5 MB
- Stars: 15
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flyway Ant Tasks
Flyway Ant plugin provided as an AntLib.
## Dependency
```xml
com.ttulka.flyway
flyway-ant
...```
## Usage
```xml
```
## Tasks
| Name | Description |
| ------------ | ------------|
| `migrate` | Migrates the database. |
| `clean` | Drops all objects in the configured schemas. |
| `info` | Prints the details and status information about all the migrations. |
| `validate` | Validates the applied migrations against the ones available on the classpath. |
| `baseline` | Baselines an existing database, excluding all migrations up to and including baselineVersion. |
| `repair` | Repairs the metadata table. |## Configuration
The Flyway Ant tasks can be configured in the following ways:
### Attributes of the task
```xml
```
### Through Ant properties
```xml
```
### Through System properties
```
ant -Dflyway.user=myUser -Dflyway.schemas=schema1,schema2 -Dflyway.placeholders.keyABC=valueXYZ
```System properties *override* Ant properties *override* Task attributes.
## Documentation
For more details see the [Wiki pages](https://github.com/flyway/flyway-ant/wiki).
## Maintenance
This repository is a community project and not officially maintained by the Flyway Team at Redgate.
This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance.
Community Maintainers:
- [@ttulka](https://github.com/ttulka)If you would like to be named as an Community Maintainer, let us know via Twitter: https://twitter.com/flywaydb.
## License
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)