public class InstallAppMojoSupport extends PluginConfigSupport
BasicSupport.InstallType| Modifier and Type | Field and Description |
|---|---|
protected ApplicationXmlDocument |
applicationXml |
appsDirectory, looseApplication, PLUGIN_CONFIG_XML, stripVersionbootstrapProperties, bootstrapPropertiesFile, configFile, jvmOptions, jvmOptionsFileassemblyArchive, assemblyArtifact, assemblyInstallDirectory, configDirectory, install, installDirectory, installType, isInstall, licenseArtifact, messages, outputDirectory, refresh, serverDirectory, serverEnv, serverName, skip, START_APP_MESSAGE_REGEXP, userDirectoryant, artifactRepository, mavenProjectBuilder, project, reactorProjects, repoSession, repositories, repositorySystem, session, settings| Constructor and Description |
|---|
InstallAppMojoSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLooseConfigFileName(org.apache.maven.project.MavenProject project) |
protected void |
installApp(org.apache.maven.artifact.Artifact artifact) |
protected void |
installLooseConfigEar(org.apache.maven.project.MavenProject proj,
LooseConfigData config) |
protected void |
installLooseConfigWar(org.apache.maven.project.MavenProject proj,
LooseConfigData config) |
protected void |
invokeSpringBootUtilCommand(File installDirectory,
String fatArchiveSrcLocation,
String thinArchiveTargetLocation,
String libIndexCacheTargetLocation)
Executes the SpringBootUtilTask to thin the Spring Boot application executable archive and place the thin archive and lib.index.cache in the specified location.
|
protected void |
validateAppConfig(String fileName,
String artifactId) |
protected void |
validateAppConfig(String fileName,
String artifactId,
boolean isSpringBootApp) |
exportParametersToXml, getAppConfigLocationsFromSourceServerXml, getApplicationFilename, getAppsDirectory, getFileFromConfigDirectory, getFileFromConfigDirectory, getInstallAppPackages, getLibertyAssemblyWarSourceDirectory, getWarSourceDirectory, installServerAssembly, isAnyAppConfiguredInSourceServerXml, isAppConfiguredInSourceServerXml, stripVersionFromNamecopyConfigFiles, initializeJavacheckServerDirectoryExists, checkServerHomeExists, deleteApplication, deleteApplication, init, installFromArchive, installFromFile, installLicensecreateArtifact, getArtifact, getArtifact, getArtifactRepository, getProject, getReactorMavenProject, isReactorMavenProjectcontextualize, doExecute, execute, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifactprotected ApplicationXmlDocument applicationXml
protected void installApp(org.apache.maven.artifact.Artifact artifact)
throws Exception
Exceptionprotected void installLooseConfigWar(org.apache.maven.project.MavenProject proj,
LooseConfigData config)
throws Exception
Exceptionprotected void installLooseConfigEar(org.apache.maven.project.MavenProject proj,
LooseConfigData config)
throws Exception
Exceptionprotected String getLooseConfigFileName(org.apache.maven.project.MavenProject project)
protected void validateAppConfig(String fileName, String artifactId) throws Exception
Exceptionprotected void validateAppConfig(String fileName, String artifactId, boolean isSpringBootApp) throws Exception
Exceptionprotected void invokeSpringBootUtilCommand(File installDirectory, String fatArchiveSrcLocation, String thinArchiveTargetLocation, String libIndexCacheTargetLocation) throws Exception
installDirectory - : Installation directory of Liberty profile.fatArchiveSrcLocation - : Source Spring Boot FAT executable archive location.thinArchiveTargetLocation - : Target thin archive location.libIndexCacheTargetLocation - : Library cache location.ExceptionCopyright © 2018 the original author or authors.