common-parameters.md

February 3, 2020 ยท View on GitHub

Common Parameters

Parameters shared by all goals.

ParameterDescriptionRequired
installDirectoryLocal installation directory of the Liberty server.Yes, only when runtimeArchive, runtimeArtifact, and install parameters are not set.
runtimeArchiveLocation of the Liberty server compressed archive. The archive will be unpacked into a directory as specified by the runtimeInstallDirectory parameter.Yes, only when installDirectory, runtimeArtifact, and install parameters are not set.
runtimeArtifactMaven artifact name of the Liberty runtime. The runtime will be installed into a directory as specified by the runtimeInstallDirectory parameter. The default runtime is the latest version of io.openliberty:openliberty-kernel.No
libertyRuntimeVersionLiberty runtime version to use instead of the runtimeArtifact version. This can also be specified with -Dliberty.runtime.version from the command line.No
installInstall Liberty runtime from the Liberty repository.Yes, only when installDirectory, runtimeArchive, and runtimeArtifact parameters are not set.
licenseArtifactMaven artifact name of the Liberty license jar. It will be used to upgrade the installation at the location specified by the runtimeInstallDirectory parameter.No
serverNameName of the Liberty server instance. The default value is defaultServer.No
userDirectoryAlternative user directory location that contains server definitions and shared resources (WLP_USER_DIR).No
outputDirectoryAlternative location for server generated output such as logs, the workarea directory, and other generated files (WLP_OUTPUT_DIR). The default value for the package and install-feature goals is ${project.build.directory}/liberty-alt-output-dir.No
runtimeInstallDirectoryLocal installation directory location of the Liberty server when the server is installed using the runtime archive, runtime artifact or repository option. The default value is ${project.build.directory}/liberty.No
refreshIf true, re-install Liberty server into the local directory. This is only used when when the server is installed using the runtime archive or runtime artifact option. The default value is false.No
skipIf true, the specified goal is bypassed entirely. The default value is false.No