db:start

Full name:

ch.elca.el4j.maven.plugins:maven-database-plugin:3.1:start

Description:

This class is a database mojo for the 'start' statement.

Attributes:

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

Required Parameters

Name Type Since Description
toolsPath String - Directory of tools (such as application servers or local dbs) in the project.

Optional Parameters

Name Type Since Description
dbPassword String - The password required to access the DB.
dbPort int - The port to run the DB.
Default value is: -1.
dbUsername String - The user name required to access the DB.
skip boolean - (no description)
Default value is: false.
wait boolean - Decides whether to wait after the container is started or to return the execution flow to the user.
Default value is: true.

Parameter Details

dbPassword:

The password required to access the DB.
  • Type: java.lang.String
  • Required: No
  • Expression: ${db.password}

dbPort:

The port to run the DB.
  • Type: int
  • Required: No
  • Expression: ${db.internal.port}
  • Default: -1

dbUsername:

The user name required to access the DB.
  • Type: java.lang.String
  • Required: No
  • Expression: ${db.username}

skip:

(no description)
  • Type: boolean
  • Required: No
  • Expression: ${skip}
  • Default: false

toolsPath:

Directory of tools (such as application servers or local dbs) in the project.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${el4j.project.tools}

wait:

Decides whether to wait after the container is started or to return the execution flow to the user.
  • Type: boolean
  • Required: No
  • Expression: ${db.wait}
  • Default: true