jcabi-mysql:stop
Full name:
com.jcabi:jcabi-mysql-maven-plugin:0.10.2:stop
Description:
Stops MySQL.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
0.1
. - Binds by default to the lifecycle phase:
post-integration-test
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<data> |
File |
0.1 |
Location of MySQL data. Default value is: ${project.build.directory}/mysql-data . |
<dist> |
File |
0.1 |
Location of MySQL distribution. Default value is: ${project.build.directory}/mysql-dist . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<dbname> |
String |
0.1 |
Database name to use. Default value is: root . |
<erase> |
boolean |
0.1 |
Shall we always delete an existing database or reuse it? Default value is: true . |
<options> |
List |
0.1 |
Configuration options. |
<password> |
String |
0.1 |
Password to use. Default value is: root . |
<port> |
int |
0.1 |
Port to use. Default value is: 3306 . |
<skip> |
boolean |
0.1 |
Shall we skip execution? Default value is: false . |
<socket> |
File |
0.1 |
Override location of MySQL socket file. Defaults to (data
dir)/mysql.socket. |
<user> |
String |
0.1 |
Username to use. Default value is: root . |
Parameter Details
<data>
Location of MySQL data.
- Type:
java.io.File
- Since:
0.1
- Required:
Yes
- Default:
${project.build.directory}/mysql-data
<dbname>
Database name to use.
- Type:
java.lang.String
- Since:
0.1
- Required:
No
- Default:
root
<dist>
Location of MySQL distribution.
- Type:
java.io.File
- Since:
0.1
- Required:
Yes
- Default:
${project.build.directory}/mysql-dist
<erase>
Shall we always delete an existing database or reuse it?
- Type:
boolean
- Since:
0.1
- Required:
No
- Default:
true
<options>
Configuration options.
- Type:
java.util.List
- Since:
0.1
- Required:
No
<password>
Password to use.
- Type:
java.lang.String
- Since:
0.1
- Required:
No
- Default:
root
<port>
Port to use.
- Type:
int
- Since:
0.1
- Required:
No
- Default:
3306
<skip>
Shall we skip execution?
- Type:
boolean
- Since:
0.1
- Required:
No
- Default:
false
<socket>
Override location of MySQL socket file. Defaults to (data
dir)/mysql.socket.
- Type:
java.io.File
- Since:
0.1
- Required:
No
<user>
Username to use.
- Type:
java.lang.String
- Since:
0.1
- Required:
No
- Default:
root