org.liquibase.maven.plugins
Class LiquibaseGenerateChangeLogMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.liquibase.maven.plugins.AbstractLiquibaseMojo
org.liquibase.maven.plugins.LiquibaseGenerateChangeLogMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class LiquibaseGenerateChangeLogMojo
- extends AbstractLiquibaseMojo
Generates SQL that marks all unapplied changes as applied.
- Since:
- 2.0.6
- Author:
- Marcello Teodori
| Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo |
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, skip, systemProperties, url, username, verbose, wagonManager |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo |
checkRequiredParametersAreSpecified, cleanup, configureFieldsAndValues, createLiquibase, execute, getClassLoaderIncludingProjectClasspath, getFileOpener, getLiquibase, getMavenArtifactClassLoader, getOutputWriter, isPromptOnNonLocalDatabase, parsePropertiesFile |
| 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 |
contexts
protected String contexts
- are required. If no context is specified then ALL contexts will be executed.
outputChangeLogFile
protected String outputChangeLogFile
- The target change log file to output to. If this is null then the output will be to the screen.
LiquibaseGenerateChangeLogMojo
public LiquibaseGenerateChangeLogMojo()
performLiquibaseTask
protected void performLiquibaseTask(Liquibase liquibase)
throws LiquibaseException
- Specified by:
performLiquibaseTask in class AbstractLiquibaseMojo
- Throws:
LiquibaseException
printSettings
protected void printSettings(String indent)
- Description copied from class:
AbstractLiquibaseMojo
- Prints the settings that have been set of defaulted for the plugin. These will only
be shown in verbose mode.
- Overrides:
printSettings in class AbstractLiquibaseMojo
- Parameters:
indent - The indent string to use when printing the settings.
Copyright © 2014 Liquibase.org. All Rights Reserved.