andromdapp:schema

Full name:

org.andromda.maven.plugins:andromdapp-maven-plugin:3.5-SNAPSHOT:schema

Description:

Provides the ability to drop database schemas.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Required Parameters

Name Type Since Description
jdbcConnectionUrl String - The JDBC connection URL.
jdbcDriver String - The name of the JDBC driver class.
jdbcDriverJar String - The jar containing the JDBC driver.
jdbcUsername String - The JDBC username for the database.
pluginArtifacts List - (no description)
taskType String - The type of the create schema task to execute.

Optional Parameters

Name Type Since Description
executeScripts boolean - Whether or not scripts should be executed (if this is set to false, they will only be generated, but not executed).
jdbcPassword String - The JDBC password for the database.
properties Properties - The properties that can be passed to the schema task.
propertyFiles String[] - Any property files that should be loaded into the schema properties.
scripts List - Defines the location(s) of any SQL scripts to be executed.
tasks String - The schema task to execute (create, drop, update, validate)

Parameter Details

executeScripts:

Whether or not scripts should be executed (if this is set to false, they will only be generated, but not executed).
  • Type: boolean
  • Required: No
  • Expression: ${executeScripts}

jdbcConnectionUrl:

The JDBC connection URL.
  • Type: java.lang.String
  • Required: Yes

jdbcDriver:

The name of the JDBC driver class.
  • Type: java.lang.String
  • Required: Yes

jdbcDriverJar:

The jar containing the JDBC driver.
  • Type: java.lang.String
  • Required: Yes

jdbcPassword:

The JDBC password for the database.
  • Type: java.lang.String
  • Required: No

jdbcUsername:

The JDBC username for the database.
  • Type: java.lang.String
  • Required: Yes

pluginArtifacts:

(no description)
  • Type: java.util.List
  • Required: Yes
  • Expression: ${plugin.artifacts}

properties:

The properties that can be passed to the schema task.
  • Type: java.util.Properties
  • Required: No

propertyFiles:

Any property files that should be loaded into the schema properties.
  • Type: java.lang.String[]
  • Required: No

scripts:

Defines the location(s) of any SQL scripts to be executed.
  • Type: java.util.List
  • Required: No

taskType:

The type of the create schema task to execute.
  • Type: java.lang.String
  • Required: Yes
  • Expression: hibernate

tasks:

The schema task to execute (create, drop, update, validate)
  • Type: java.lang.String
  • Required: No
  • Expression: ${tasks}