Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.49 KB

create.md

File metadata and controls

38 lines (33 loc) · 1.49 KB

create


Create a Liberty server.

Additional Parameters

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

If the server has already been created, the create goal will update the server configuration from source.

Parameter Description Required
template Name of the template to use when creating a new server. No
libertySettingsFolder Path to directory containing liberty configuration files (jvm.options or server.env) to be copied to the server install "etc" directory. No
noPassword If true, disable generation of default keystore password by specifying the --no-password option when creating a new server. This option was added in 18.0.0.3. The default value is false. No

Example:

<plugin>
    <groupId>io.openliberty.tools</groupId>
    <artifactId>liberty-maven-plugin</artifactId>
    <executions>
        ...
        <execution>
            <id>create-server</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>create</goal>
            </goals>
        </execution>
        ...
    </executions>
    <configuration>
       <installDirectory>/opt/ibm/wlp</installDirectory>
       <serverName>test</serverName>
    </configuration>
</plugin>