Package org.javalite.db_migrator.maven
Class AbstractMigrationMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.javalite.db_migrator.maven.AbstractMigrationMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractDbMigrationMojo,NewMojo
public abstract class AbstractMigrationMojo
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.MavenProjectvoidsetCreateSql(String createSql)voidsetDropSql(String dropSql)voidsetMigrationsPath(String migrationsPath)voidsetProject(org.apache.maven.project.MavenProject project)toAbsolutePath(String path)toAbsolutePath(String path, boolean suppressNotExists)Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject project
-
-
Constructor Details
-
AbstractMigrationMojo
public AbstractMigrationMojo()
-
-
Method Details
-
getProject
public org.apache.maven.project.MavenProject getProject() -
setProject
public void setProject(org.apache.maven.project.MavenProject project) -
getEncoding
-
getMigrationsPath
-
getCreateSql
-
getDropSql
-
setMigrationsPath
-
setCreateSql
-
setDropSql
-
toAbsolutePath
- Throws:
FileNotFoundException
-
toAbsolutePath
- Throws:
FileNotFoundException
-