Stop a Liberty server. The server instance must exist and must be running.
This goal supports common server parameters and common parameters.
Parameter | Description | Required |
---|---|---|
serverStopTimeout | Deprecated. This parameter is ignored. | No |
embedded | Whether the server is embedded in the Maven JVM. If the server is started in embedded mode, it must also be stopped in embedded mode. The default value is false . |
No |
Example:
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<executions>
...
<execution>
<id>stop-server</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
...
</executions>
<configuration>
<installDirectory>/opt/ibm/wlp</installDirectory>
<serverName>test</serverName>
</configuration>
</plugin>