org.leberrigaud.maven.plugins.database.CreateMojo.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of database-maven-plugin Show documentation
Show all versions of database-maven-plugin Show documentation
A maven plugin to create and drop databases and their associated users.
package org.leberrigaud.maven.plugins.database
/**
* @requiresProject false
* @goal create
*/
class CreateMojo extends AbstractDatabaseMojo
{
void doExecute()
{
final config = validate()
drop(config)
create(config)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy