Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 980 Bytes

stop-server.md

File metadata and controls

34 lines (30 loc) · 980 Bytes

stop-server


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

Example:

<plugin>
    <groupId>net.wasdev.wlp.maven.plugins</groupId>
    <artifactId>liberty-maven-plugin</artifactId>
    <executions>
        ...
        <execution>
            <id>stop-server</id>
            <phase>post-integration-test</phase>
            <goals>
                <goal>stop-server</goal>
            </goals>
        </execution>
        ...
    </executions>
    <configuration>
       <installDirectory>/opt/ibm/wlp</installDirectory>
       <serverName>test</serverName>
    </configuration>
</plugin>