featureUtility installServerFeatures

The featureUtility installServerFeatures command installs the required features that are listed in the server.xml file of a server.

Usage example

Install the server features for the myserver server:

featureUtility installServerFeatures myserver

Syntax

Run the command from the path_to_liberty/bin directory.

featureUtility installServerFeatures serverName [options]
serverName

The name of the server to run the command against.

options

One or more optional parameters.

Options

Option Description

--acceptLicense

Accepts the license agreement for the feature if the feature has a different license from the Liberty server into which it’s installed.

--noCache

Specifies that features that are installed from a remote repository, such as Maven Central, aren’t cached locally.

--verbose

Displays additional debug information while the action runs.