Class SqlMigrationMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.dslplatform.mojo.SqlMigrationMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="sql-migration") public class SqlMigrationMojo extends org.apache.maven.plugin.AbstractMojo
  • Field Details

    • GOAL

      public static final String GOAL
      See Also:
    • context

      private final MojoContext context
    • compiler

      @Parameter(property="compiler") private String compiler
    • dsl

      @Parameter(property="dsl", defaultValue="dsl") private String dsl
    • sql

      @Parameter(property="sql", defaultValue="sql") private String sql
    • postgres

      @Parameter(property="postgres") private String postgres
    • oracle

      @Parameter(property="oracle") private String oracle
    • applySql

      @Parameter(property="applySql", defaultValue="false") private boolean applySql
    • plugins

      @Parameter(property="plugins", defaultValue=".") private String plugins
  • Constructor Details

    • SqlMigrationMojo

      public SqlMigrationMojo()
  • Method Details

    • setCompiler

      public void setCompiler(String value)
    • getCompiler

      public String getCompiler()
    • setDsl

      public void setDsl(String value)
    • getDsl

      public String getDsl()
    • setSql

      public void setSql(String value)
    • getSql

      public String getSql()
    • setPostgres

      public void setPostgres(String value)
    • getPostgres

      public String getPostgres()
    • setOracle

      public void setOracle(String value)
    • getOracle

      public String getOracle()
    • setApplySql

      public void setApplySql(boolean applySql)
    • getApplySql

      public boolean getApplySql()
    • setPlugins

      public void setPlugins(String value)
    • getPlugins

      public String getPlugins()
    • getContext

      public MojoContext getContext()
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException