org.dbmaintain.maven.plugin
Class MarkDatabaseAsUpToDateMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.dbmaintain.maven.plugin.BaseMojo
org.dbmaintain.maven.plugin.BaseDatabaseMojo
org.dbmaintain.maven.plugin.MarkDatabaseAsUpToDateMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class MarkDatabaseAsUpToDateMojo
- extends BaseDatabaseMojo
This operation updates the state of the database to indicate that all scripts have been executed, without actually
executing them. This can be useful when you want to start using DbMaintain on an existing database, or after having
fixed a problem directly on the database.
- Author:
- Tim Ducheyne, tiwe
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
scriptArchiveDependencies
protected List<ScriptArchiveDependency> scriptArchiveDependencies
- Defines where the scripts can be found that must be registered in the database. Multiple dependencies may be
configured.
At least one scriptArchiveDependency or scriptLocation (can be both) must be defined.
scriptLocations
protected String scriptLocations
- Defines where the scripts can be found that must be registered in the database. Multiple locations may be
configured, separated by comma's. A script location can be a folder or a jar file.
At least one scriptArchiveDependency or scriptLocation (can be both) must be defined.
MarkDatabaseAsUpToDateMojo
public MarkDatabaseAsUpToDateMojo()
createDbMaintainTask
protected DbMaintainTask createDbMaintainTask(List<DbMaintainDatabase> dbMaintainDatabases)
- Specified by:
createDbMaintainTask
in class BaseDatabaseMojo
Copyright © 2011. All Rights Reserved.