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
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.project.MavenProject
void
setCreateSql(String createSql)
void
setDropSql(String dropSql)
void
setMigrationsPath(String migrationsPath)
void
setProject(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, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-