org.liquibase.maven.plugins
Class LiquibaseTag

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.liquibase.maven.plugins.AbstractLiquibaseMojo
          extended by org.liquibase.maven.plugins.LiquibaseTag
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LiquibaseTag
extends AbstractLiquibaseMojo

Writes a Liquibase tag to the database.

Author:
Peter Murray

Field Summary
 
Fields inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
changelogCatalogName, changelogSchemaName, clearCheckSums, databaseChangeLogLockTableName, databaseChangeLogTableName, databaseClass, defaultCatalogName, defaultSchemaName, driver, emptyPassword, includeArtifact, includeTestOutputDirectory, liquibaseShouldRun, logging, outputDefaultCatalog, outputDefaultSchema, outputFileEncoding, password, project, promptOnNonLocalDatabase, propertyFile, propertyFileWillOverride, propertyProviderClass, systemProperties, url, username, verbose, wagonManager
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LiquibaseTag()
           
 
Method Summary
protected  void checkRequiredParametersAreSpecified()
          Performs some validation after the properties file has been loaded checking that all properties required have been specified.
protected  void performLiquibaseTask(Liquibase liquibase)
           
protected  void printSettings(String indent)
          Prints the settings that have been set of defaulted for the plugin.
 
Methods inherited from class org.liquibase.maven.plugins.AbstractLiquibaseMojo
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
 

Constructor Detail

LiquibaseTag

public LiquibaseTag()
Method Detail

checkRequiredParametersAreSpecified

protected void checkRequiredParametersAreSpecified()
                                            throws org.apache.maven.plugin.MojoFailureException
Description copied from class: AbstractLiquibaseMojo
Performs some validation after the properties file has been loaded checking that all properties required have been specified.

Overrides:
checkRequiredParametersAreSpecified in class AbstractLiquibaseMojo
Throws:
org.apache.maven.plugin.MojoFailureException - If any property that is required has not been specified.

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.

performLiquibaseTask

protected void performLiquibaseTask(Liquibase liquibase)
                             throws LiquibaseException
Specified by:
performLiquibaseTask in class AbstractLiquibaseMojo
Throws:
LiquibaseException


Copyright © 2015 Liquibase.org. All rights reserved.