My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
MavenPlugin  
Flyway Maven Plugin
Phase-Deploy, Featured
Updated Dec 20, 2011 by axel.fontaine.business@gmail.com

Flyway Maven Plugin

Installation

Follow the instructions

Goals

Name Description
clean Drops all objects in the schema without dropping the schema itself
init Creates and initializes the metadata table in the schema
migrate Migrates the schema to the latest version
validate Validates the applied migrations against the ones available on the classpath
status Prints the current version of the schema
history Prints the full migration history of the schema



Authentication

Credentials can be passed in any of the following ways:

Directly in the configuration of the plugin

...
<configuration>
    <user>myUser</user>
    <password>mySecretPwd</password>
    ...
</configuration>
...

As system properties

-Dflyway.user=myUser -Dflyway.password=mySecretPwd

Loaded from the Maven settings.xml file

<settings>
    <servers>
        <server>
            <id>flyway-db</id>
            <username>myUser</username>
            <password>mySecretPwd</password>
        </server>
    </servers>
</settings>
Powered by Google Project Hosting