Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 961 Bytes

run-server.md

File metadata and controls

28 lines (23 loc) · 961 Bytes

run-server


Start a Liberty server in foreground. The server instance will be automatically created if it does not exist. Note: This goal is designed to be executed directly from the Maven command line.

Additional Parameters

The following are the parameters supported by this goal in addition to the common server parameters and the common parameters.

Parameter Description Required
clean Clean all cached information on server start up. The default value is false. No

Example:

<plugin>
    <groupId>net.wasdev.wlp.maven.plugins</groupId>
    <artifactId>liberty-maven-plugin</artifactId>
    <configuration>
       <installDirectory>/opt/ibm/wlp</installDirectory>
       <serverName>test</serverName>
    </configuration>
</plugin>
$ mvn liberty:run-server