Skip to content

Commit

Permalink
Merge pull request #155 from Datical/DAT-3555
Browse files Browse the repository at this point in the history
Fixed @parameter spelling
  • Loading branch information
nvoxland committed Nov 19, 2019
2 parents cb5ce5f + a87e48e commit 241d7c0
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 70 deletions.
Expand Up @@ -27,28 +27,28 @@ public abstract class AbstractLiquibaseChangeLogMojo extends AbstractLiquibaseMo
/**
* Specifies the change log directory into which liquibase can find the change log file.
*
* @paramater property="liquibase.changeLogDirectory"
* @parameter property="liquibase.changeLogDirectory"
*/
protected String changeLogDirectory;

/**
* Specifies the change log file to use for Liquibase.
* @paramater property="liquibase.changeLogFile"
* @parameter property="liquibase.changeLogFile"
*/
protected String changeLogFile;


/**
* The Liquibase contexts to execute, which can be "," separated if multiple contexts
* are required. If no context is specified then ALL contexts will be executed.
* @paramater property="liquibase.contexts" default-value=""
* @parameter property="liquibase.contexts" default-value=""
*/
protected String contexts;

/**
* The Liquibase labels to execute, which can be "," separated if multiple labels
* are required or a more complex expression. If no label is specified then ALL all will be executed.
* @paramater property="liquibase.labels" default-value=""
* @parameter property="liquibase.labels" default-value=""
*/
protected String labels;

Expand Down
Expand Up @@ -50,14 +50,14 @@ public abstract class AbstractLiquibaseMojo extends AbstractMojo {
/**
* The fully qualified name of the driver class to use to connect to the database.
*
* @paramater property="liquibase.driver"
* @parameter property="liquibase.driver"
*/
protected String driver;

/**
* The Database URL to connect to for executing Liquibase.
*
* @paramater property="liquibase.url"
* @parameter property="liquibase.url"
*/
protected String url;

Expand All @@ -72,85 +72,85 @@ public abstract class AbstractLiquibaseMojo extends AbstractMojo {
/**
* The database username to use to connect to the specified database.
*
* @paramater property="liquibase.username"
* @parameter property="liquibase.username"
*/
protected String username;
/**
* The database password to use to connect to the specified database.
*
* @paramater property="liquibase.password"
* @parameter property="liquibase.password"
*/
protected String password;
/**
* Use an empty string as the password for the database connection. This should not be
* used along side the {@link #password} setting.
*
* @paramater property="liquibase.emptyPassword" default-value="false"
* @parameter property="liquibase.emptyPassword" default-value="false"
* @deprecated Use an empty or null value for the password instead.
*/
protected boolean emptyPassword;
/**
* Whether to ignore the schema name.
*
* @paramater property="liquibase.outputDefaultSchema"
* @parameter property="liquibase.outputDefaultSchema"
*/
protected boolean outputDefaultSchema;
/**
* Whether to ignore the catalog/database name.
*
* @paramater property="liquibase.outputDefaultCatalog"
* @parameter property="liquibase.outputDefaultCatalog"
*/
protected boolean outputDefaultCatalog;
/**
* The default catalog name to use the for database connection.
*
* @paramater property="liquibase.defaultCatalogName"
* @parameter property="liquibase.defaultCatalogName"
*/
protected String defaultCatalogName;
/**
* The default schema name to use the for database connection.
*
* @paramater property="liquibase.defaultSchemaName"
* @parameter property="liquibase.defaultSchemaName"
*/
protected String defaultSchemaName;
/**
* The class to use as the database object.
*
* @paramater property="liquibase.databaseClass"
* @parameter property="liquibase.databaseClass"
*/
protected String databaseClass;
/**
* The class to use as the property provider (must be a java.util.Properties implementation).
*
* @paramater property="liquibase.propertyProviderClass"
* @parameter property="liquibase.propertyProviderClass"
*/
protected String propertyProviderClass;
/**
* Controls the prompting of users as to whether or not they really want to run the
* changes on a database that is not local to the machine that the user is current
* executing the plugin on.
*
* @paramater property="liquibase.promptOnNonLocalDatabase" default-value="true"
* @parameter property="liquibase.promptOnNonLocalDatabase" default-value="true"
*/
protected boolean promptOnNonLocalDatabase;
/**
* Allows for the maven project artifact to be included in the class loader for
* obtaining the Liquibase property and DatabaseChangeLog files.
*
* @paramater property="liquibase.includeArtifact" default-value="true"
* @parameter property="liquibase.includeArtifact" default-value="true"
*/
protected boolean includeArtifact;
/**
* Allows for the maven test output directory to be included in the class loader for
* obtaining the Liquibase property and DatabaseChangeLog files.
*
* @paramater property="liquibase.includeTestOutputDirectory" default-value="true"
* @parameter property="liquibase.includeTestOutputDirectory" default-value="true"
*/
protected boolean includeTestOutputDirectory;
/**
* Controls the verbosity of the output from invoking the plugin.
*
* @paramater property="liquibase.verbose" default-value="false"
* @parameter property="liquibase.verbose" default-value="false"
* @description Controls the verbosity of the plugin when executing
*/
protected boolean verbose;
Expand All @@ -159,29 +159,29 @@ public abstract class AbstractLiquibaseMojo extends AbstractMojo {
* "debug", "info", "warning", "severe", or "off". The value is
* case insensitive.
*
* @paramater property="liquibase.logging" default-value="INFO"
* @parameter property="liquibase.logging" default-value="INFO"
* @description Controls the verbosity of the plugin when executing
*/
protected String logging;
/**
* The Liquibase properties file used to configure the Liquibase {@link
* liquibase.Liquibase}.
*
* @paramater property="liquibase.propertyFile"
* @parameter property="liquibase.propertyFile"
*/
protected String propertyFile;
/**
* Flag allowing for the Liquibase properties file to override any settings provided in
* the Maven plugin configuration. By default if a property is explicity specified it is
* not overridden if it also appears in the properties file.
*
* @paramater property="liquibase.propertyFileWillOverride" default-value="false"
* @parameter property="liquibase.propertyFileWillOverride" default-value="false"
*/
protected boolean propertyFileWillOverride;
/**
* Flag for forcing the checksums to be cleared from the DatabaseChangeLog table.
*
* @paramater property="liquibase.clearCheckSums" default-value="false"
* @parameter property="liquibase.clearCheckSums" default-value="false"
*/
protected boolean clearCheckSums;
/**
Expand All @@ -193,7 +193,7 @@ public abstract class AbstractLiquibaseMojo extends AbstractMojo {
/**
* The Maven project that plugin is running under.
*
* @paramater property="project"
* @parameter property="project"
* @required
* @readonly
*/
Expand All @@ -202,43 +202,43 @@ public abstract class AbstractLiquibaseMojo extends AbstractMojo {
* Set this to 'true' to skip running liquibase. Its use is NOT RECOMMENDED, but quite
* convenient on occasion.
*
* @paramater property="liquibase.skip" default-value="false"
* @parameter property="liquibase.skip" default-value="false"
*/
protected boolean skip;
/**
* Flag to set the character encoding of the output file produced by Liquibase during the updateSQL phase.
*
* @paramater property="liquibase.outputFileEncoding"
* @parameter property="liquibase.outputFileEncoding"
*/
protected String outputFileEncoding;
/**
* Schema against which Liquibase changelog tables will be created.
*
* @paramater property="liquibase.changelogCatalogName"
* @parameter property="liquibase.changelogCatalogName"
*/
protected String changelogCatalogName;
/**
* Schema against which Liquibase changelog tables will be created.
*
* @paramater property="liquibase.changelogSchemaName"
* @parameter property="liquibase.changelogSchemaName"
*/
protected String changelogSchemaName;
/**
* Table name to use for the databasechangelog.
*
* @paramater property="liquibase.databaseChangeLogTableName"
* @parameter property="liquibase.databaseChangeLogTableName"
*/
protected String databaseChangeLogTableName;
/**
* Table name to use for the databasechangelog.
*
* @paramater property="liquibase.databaseChangeLogLockTableName"
* @parameter property="liquibase.databaseChangeLogLockTableName"
*/
protected String databaseChangeLogLockTableName;
/**
* The server id in settings.xml to use when authenticating with.
*
* @paramater property="liquibase.server"
* @parameter property="liquibase.server"
*/
private String server;
/**
Expand Down
Expand Up @@ -14,13 +14,13 @@ public abstract class AbstractLiquibaseUpdateMojo extends AbstractLiquibaseChang
/**
* The number of changes to apply to the database. By default this value is 0, which
* will result in all changes (not already applied to the database) being applied.
* @paramater property="liquibase.changesToApply" default-value=0
* @parameter property="liquibase.changesToApply" default-value=0
*/
protected int changesToApply;

/**
* Update to the changeSet with the given tag command.
* @paramater property="liquibase.toTag"
* @parameter property="liquibase.toTag"
*/
protected String toTag;

Expand All @@ -41,4 +41,4 @@ protected void printSettings(String indent) {
super.printSettings(indent);
getLog().info(indent + "number of changes to apply: " + changesToApply);
}
}
}
Expand Up @@ -25,7 +25,7 @@ public class LiquibaseChangeLogSyncSQLMojo extends
* The file to output the Migration SQL script to, if it exists it will be
* overwritten.
*
* @paramater property="liquibase.migrationSqlOutputFile"
* @parameter property="liquibase.migrationSqlOutputFile"
* default-value=
* "${project.build.directory}/liquibase/migrate.sql"
*/
Expand Down
Expand Up @@ -34,93 +34,93 @@ public class LiquibaseDatabaseDiff extends AbstractLiquibaseChangeLogMojo {
* The fully qualified name of the driver class to use to connect to the reference database.
* If this is not specified, then the {@link #driver} will be used instead.
*
* @paramater property="liquibase.referenceDriver"
* @parameter property="liquibase.referenceDriver"
*/
protected String referenceDriver;

/**
* The reference database URL to connect to for executing Liquibase.
*
* @paramater property="liquibase.referenceUrl"
* @parameter property="liquibase.referenceUrl"
*/
protected String referenceUrl;

/**
* The reference database username to use to connect to the specified database.
*
* @paramater property="liquibase.referenceUsername"
* @parameter property="liquibase.referenceUsername"
*/
protected String referenceUsername;

/**
* The reference database password to use to connect to the specified database. If this is
* null then an empty password will be used.
*
* @paramater property="liquibase.referencePassword"
* @parameter property="liquibase.referencePassword"
*/
protected String referencePassword;

/**
* The reference database catalog.
*
* @paramater property="liquibase.referenceDefaultCatalogName"
* @parameter property="liquibase.referenceDefaultCatalogName"
*/
protected String referenceDefaultCatalogName;

/**
* The reference database schema.
*
* @paramater property="liquibase.referenceDefaultSchemaName"
* @parameter property="liquibase.referenceDefaultSchemaName"
*/
protected String referenceDefaultSchemaName;
/**
* If this parameter is set, the changelog needed to "fix" differences between the two databases is output. If the file exists, it is appended to.
* If this is null, a comparison report is output to stdout.
*
* @paramater property="liquibase.diffChangeLogFile"
* @parameter property="liquibase.diffChangeLogFile"
*/
protected String diffChangeLogFile;
/**
* Include the catalog in the diff output? If this is null then the catalog will not be included
*
* @paramater property="liquibase.diffIncludeCatalog"
* @parameter property="liquibase.diffIncludeCatalog"
*/
protected boolean diffIncludeCatalog;
/**
* Include the schema in the diff output? If this is null then the schema will not be included
*
* @paramater property="liquibase.diffIncludeSchema"
* @parameter property="liquibase.diffIncludeSchema"
*/
protected boolean diffIncludeSchema;
/**
* Include the tablespace in the diff output? If this is null then the tablespace will not be included
*
* @paramater property="liquibase.diffIncludeTablespace"
* @parameter property="liquibase.diffIncludeTablespace"
*/
protected boolean diffIncludeTablespace;
/**
* List of diff types to include in Change Log expressed as a comma separated list from: tables, views, columns, indexes, foreignkeys, primarykeys, uniqueconstraints, data.
* If this is null then the default types will be: tables, views, columns, indexes, foreignkeys, primarykeys, uniqueconstraints
*
* @paramater property="liquibase.diffTypes"
* @parameter property="liquibase.diffTypes"
*/
protected String diffTypes;
/**
* Objects to be excluded from the changelog. Example filters: "table_name", "table:main_.*", "column:*._lock, table:primary.*".
*
* @paramater property="liquibase.diffExcludeObjects"
* @parameter property="liquibase.diffExcludeObjects"
*/
protected String diffExcludeObjects;
/**
* Objects to be included in the changelog. Example filters: "table_name", "table:main_.*", "column:*._lock, table:primary.*".
*
* @paramater property="liquibase.diffIncludeObjects"
* @parameter property="liquibase.diffIncludeObjects"
*/
protected String diffIncludeObjects;
/**
* The server id in settings.xml to use when authenticating with.
*
* @paramater property="liquibase.referenceServer"
* @parameter property="liquibase.referenceServer"
*/
private String referenceServer;

Expand Down
Expand Up @@ -20,7 +20,7 @@ public class LiquibaseDropAll extends AbstractLiquibaseMojo {
/**
* The schemas to be dropped. Comma separated list.
*
* @paramater property="liquibase.schemas"
* @parameter property="liquibase.schemas"
*/
protected String schemas;

Expand Down

0 comments on commit 241d7c0

Please sign in to comment.