An open API service indexing awesome lists of open source software.

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

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)