testdb:pool

Full name:

io.metaloom.maven:testdb-maven-plugin:0.1.4:pool

Description:

The pool operation will setup a new test database pool. After this step the provider daemon will automatically populate the database with copies from the template database and allow tests to allocate databases.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: process-test-classes.

Optional Parameters

Name Type Since Description
<pools> List<PoolMavenConfiguration> - List of pool definitions which should be setup by the goal.
User property is: maven.testdb.pools.
<postgresqlMavenConfig> PostgresqlMavenConfiguration - Parameters for the database settings. The settings can be used to configure the started postgresql container or for the use of an external database connection. The settings will be used when choosing to create a default test database pool during the execution of this goal.
User property is: maven.testdb.postgresql.
Alias is: postgresql.
<providerMavenConfig> ProviderMavenConfiguration - Parameters for the testdatabase provider daemon.
User property is: maven.testdb.provider.
Alias is: provider.
<skip> boolean - Whether the plugin execution should be skipped
Default value is: false.
User property is: maven.testdb.skip.

Parameter Details

<pools>

List of pool definitions which should be setup by the goal.
  • Type: java.util.List<io.metaloom.maven.provider.PoolMavenConfiguration>
  • Required: No
  • User Property: maven.testdb.pools

<postgresqlMavenConfig>

Parameters for the database settings. The settings can be used to configure the started postgresql container or for the use of an external database connection. The settings will be used when choosing to create a default test database pool during the execution of this goal.
  • Type: io.metaloom.maven.provider.PostgresqlMavenConfiguration
  • Required: No
  • User Property: maven.testdb.postgresql
  • Alias: postgresql

<providerMavenConfig>

Parameters for the testdatabase provider daemon.
  • Type: io.metaloom.maven.provider.ProviderMavenConfiguration
  • Required: No
  • User Property: maven.testdb.provider
  • Alias: provider

<skip>

Whether the plugin execution should be skipped
  • Type: boolean
  • Required: No
  • User Property: maven.testdb.skip
  • Default: false