public class InstallFeatureSupport extends BasicSupport
| Modifier and Type | Class and Description |
|---|---|
protected class |
InstallFeatureSupport.InstallFeatureMojoUtil |
BasicSupport.InstallType| Modifier and Type | Field and Description |
|---|---|
protected Features |
features
Define a set of features to install in the server and the configuration
to be applied for all instances.
|
boolean |
installFromAnt |
boolean |
noFeaturesSection |
assemblyArchive, assemblyArtifact, assemblyInstallDirectory, configDirectory, defaultOutputDirSet, install, installDirectory, installType, isInstall, libertyRuntimeVersion, licenseArtifact, mergeServerEnv, messages, outputDirectory, refresh, serverDirectory, serverEnvFile, serverName, skip, START_APP_MESSAGE_REGEXP, userDirectoryant, artifactRepository, mavenProjectBuilder, project, reactorProjects, repoSession, repositories, repositorySystem, session, settings| Constructor and Description |
|---|
InstallFeatureSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
getDependencyFeatures() |
protected io.openliberty.tools.common.plugins.util.InstallFeatureUtil |
getInstallFeatureUtil(Set<String> pluginListedEsas,
List<io.openliberty.tools.common.plugins.util.InstallFeatureUtil.ProductProperties> propertiesList,
String openLibertyVerion,
String containerName)
Get a new instance of InstallFeatureUtil
|
protected Set<String> |
getPluginListedFeatures(boolean findEsaFiles) |
protected Set<String> |
getSpecifiedFeatures(String containerName)
Get the current specified Liberty features.
|
protected boolean |
initialize() |
checkServerDirectoryExists, checkServerHomeExists, deleteApplication, deleteApplication, getLibertyDirectoryPropertyFiles, getLibertyDirectoryPropertyFiles, init, installFromArchive, installFromFile, installLicense, installServerAssembly, stripVersionFromNamecreateArtifact, createArtifactItem, dependencyTrailContainsArtifact, findTransitiveDependencies, getArtifact, getArtifact, getArtifactRepository, getProject, getReactorMavenProject, getResolvedDependencyWithTransitiveDependencies, isReactorMavenProjectcontextualize, doExecute, execute, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact@Parameter protected Features features
public boolean noFeaturesSection
public boolean installFromAnt
protected boolean initialize()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Set<String> getSpecifiedFeatures(String containerName) throws io.openliberty.tools.common.plugins.util.PluginExecutionException
String - containerName The container name if the features should be installed in a container. Otherwise null.io.openliberty.tools.common.plugins.util.PluginExecutionExceptionprotected io.openliberty.tools.common.plugins.util.InstallFeatureUtil getInstallFeatureUtil(Set<String> pluginListedEsas, List<io.openliberty.tools.common.plugins.util.InstallFeatureUtil.ProductProperties> propertiesList, String openLibertyVerion, String containerName) throws io.openliberty.tools.common.plugins.util.PluginExecutionException
pluginListedEsas - The list of ESAs specified in the plugin configuration, or null if not specifiedpropertiesList - The list of product properties installed with the Open Liberty runtimeopenLibertyVersion - The version of the Open Liberty runtimecontainerName - The container name if the features should be installed in a container. Otherwise null.io.openliberty.tools.common.plugins.util.PluginExecutionExceptionCopyright © 2021 the original author or authors.