inmemdb:run

Full name:

com.btmatthews.maven.plugins.inmemdb:inmemdb-maven-plugin:1.4.3:run

Description:

This plug-in Mojo starts an In Memory Database.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: pre-integration-test.

Required Parameters

Name Type Since Description
monitorKey String - Key to provide when sending commands to the mail apache.
User property is: monitor.key.
monitorPort int - The port to listen on for the monitor commands.
User property is: monitor.port.

Optional Parameters

Name Type Since Description
attributes Map - Additional attributes used to configure the database connection.
User property is: inmemdb.attribute.
daemon boolean - If true the server is run as a daemon.
Default value is: false.
User property is: monitor.daemon.
database String - The database name.
Default value is: ..
User property is: inmemdb.database.
monitorRetryCount int 2.1.1 The number of times to retry when checking if the server has started or stopped.
Default value is: 3.
User property is: monitor.retryCount.
monitorRetryInterval int 2.1.1 The delay in milliseconds before retrying the check to see if the server has started or stopped.
Default value is: 500.
User property is: monitor.retryInterval.
password String - The password for database connections.
User property is: inmemdb.password.
port Integer - The port for database connections.
User property is: inmemdb.port.
skip boolean 1.4.0 Indicates whether or not the Mojo execution should be skipped.
Default value is: false.
User property is: inmemdb.skip.
sources List - The source files used to populate the database.
type String - The database type.
Default value is: hsqldb.
User property is: inmemdb.type.
username String - The username for database connections.
Default value is: sa.
User property is: inmemdb.username.

Parameter Details

attributes:

Additional attributes used to configure the database connection.
  • Type: java.util.Map
  • Required: No
  • User Property: inmemdb.attribute

daemon:

If true the server is run as a daemon.
  • Type: boolean
  • Required: No
  • User Property: monitor.daemon
  • Default: false

database:

The database name.
  • Type: java.lang.String
  • Required: No
  • User Property: inmemdb.database
  • Default: .

monitorKey:

Key to provide when sending commands to the mail apache.
  • Type: java.lang.String
  • Required: Yes
  • User Property: monitor.key

monitorPort:

The port to listen on for the monitor commands.
  • Type: int
  • Required: Yes
  • User Property: monitor.port

monitorRetryCount:

The number of times to retry when checking if the server has started or stopped.
  • Type: int
  • Since: 2.1.1
  • Required: No
  • User Property: monitor.retryCount
  • Default: 3

monitorRetryInterval:

The delay in milliseconds before retrying the check to see if the server has started or stopped.
  • Type: int
  • Since: 2.1.1
  • Required: No
  • User Property: monitor.retryInterval
  • Default: 500

password:

The password for database connections.
  • Type: java.lang.String
  • Required: No
  • User Property: inmemdb.password

port:

The port for database connections.
  • Type: java.lang.Integer
  • Required: No
  • User Property: inmemdb.port

skip:

Indicates whether or not the Mojo execution should be skipped.
  • Type: boolean
  • Since: 1.4.0
  • Required: No
  • User Property: inmemdb.skip
  • Default: false

sources:

The source files used to populate the database.
  • Type: java.util.List
  • Required: No

type:

The database type.
  • Type: java.lang.String
  • Required: No
  • User Property: inmemdb.type
  • Default: hsqldb

username:

The username for database connections.
  • Type: java.lang.String
  • Required: No
  • User Property: inmemdb.username
  • Default: sa