Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.23 KB

stop.md

File metadata and controls

35 lines (31 loc) · 1.23 KB

stop


Stop a Liberty server. The server instance must exist and must be running.

Additional Parameters

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>