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 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

      public String getEncoding()
    • getMigrationsPath

      public String getMigrationsPath()
    • getCreateSql

      public String getCreateSql()
    • getDropSql

      public String getDropSql()
    • setMigrationsPath

      public void setMigrationsPath(String migrationsPath)
    • setCreateSql

      public void setCreateSql(String createSql)
    • setDropSql

      public void setDropSql(String dropSql)
    • toAbsolutePath

      public String toAbsolutePath(String path) throws FileNotFoundException
      Throws:
      FileNotFoundException
    • toAbsolutePath

      public String toAbsolutePath(String path, boolean suppressNotExists) throws FileNotFoundException
      Throws:
      FileNotFoundException