public class StartDebugMojoSupport extends BasicSupport
BasicSupport.InstallType| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
bootstrapMavenProps |
protected Map<String,String> |
bootstrapProperties |
protected File |
bootstrapPropertiesFile
Location of bootstrap.properties file.
|
protected Map<String,String> |
combinedBootstrapProperties |
protected List<String> |
combinedJvmOptions |
protected CopyDependencies |
copyDependencies |
protected Map<String,String> |
defaultVarMavenProps |
protected Map<String,String> |
envMavenProps |
protected static String |
HEADER |
protected List<String> |
jvmMavenProps |
protected List<String> |
jvmOptions |
protected File |
jvmOptionsFile
Location of jvm.options file.
|
protected String |
PLUGIN_VARIABLE_CONFIG_XML |
protected org.apache.maven.plugin.BuildPluginManager |
pluginManager |
protected File |
serverXmlFile
Location of customized configuration file server.xml
|
protected Map<String,String> |
varMavenProps |
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 |
|---|
StartDebugMojoSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyConfigFiles() |
protected org.apache.maven.model.Plugin |
getLibertyPlugin() |
protected org.apache.maven.model.Plugin |
getPlugin(String groupId,
String artifactId)
Given the groupId and artifactId get the corresponding plugin
|
protected org.apache.maven.model.Plugin |
getPluginFromPluginManagement(String groupId,
String artifactId) |
protected io.openliberty.tools.ant.ServerTask |
initializeJava() |
static boolean |
isConfigCopied() |
protected void |
runLibertyMojoCreate() |
protected void |
runLibertyMojoDeploy() |
protected void |
runLibertyMojoDeploy(boolean forceLooseApp) |
protected void |
runLibertyMojoInstallFeature(org.twdata.maven.mojoexecutor.MojoExecutor.Element features,
String containerName) |
protected void |
runMojo(String groupId,
String artifactId,
String goal) |
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, resolveArtifactprotected static final String HEADER
protected final String PLUGIN_VARIABLE_CONFIG_XML
@Component protected org.apache.maven.plugin.BuildPluginManager pluginManager
@Parameter protected CopyDependencies copyDependencies
@Parameter(alias="configFile",
property="serverXmlFile")
protected File serverXmlFile
@Parameter(property="bootstrapPropertiesFile") protected File bootstrapPropertiesFile
@Parameter(property="jvmOptionsFile") protected File jvmOptionsFile
protected io.openliberty.tools.ant.ServerTask initializeJava()
protected void runMojo(String groupId, String artifactId, String goal) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.model.Plugin getPlugin(String groupId, String artifactId)
groupId - artifactId - protected org.apache.maven.model.Plugin getLibertyPlugin()
protected org.apache.maven.model.Plugin getPluginFromPluginManagement(String groupId, String artifactId)
protected void runLibertyMojoCreate()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void runLibertyMojoDeploy()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void runLibertyMojoDeploy(boolean forceLooseApp)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void runLibertyMojoInstallFeature(org.twdata.maven.mojoexecutor.MojoExecutor.Element features,
String containerName)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic static boolean isConfigCopied()
Copyright © 2021 the original author or authors.