net.wasdev.wlp.maven.plugins.server
Class StartDebugMojoSupport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.pluginsupport.MojoSupport
net.wasdev.wlp.maven.plugins.AbstractLibertySupport
net.wasdev.wlp.maven.plugins.BasicSupport
net.wasdev.wlp.maven.plugins.server.StartDebugMojoSupport
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Direct Known Subclasses:
- CheckStatusMojo, CreateServerMojo, DumpServerMojo, JavaDumpServerMojo, PackageServerMojo, StartServerMojo, StopServerMojo
public class StartDebugMojoSupport
- extends BasicSupport
Start/Debug server support.
| Fields inherited from class net.wasdev.wlp.maven.plugins.BasicSupport |
assemblyArchive, assemblyArtifact, assemblyInstallDirectory, installDirectory, installType, isInstall, messages, outputDirectory, refresh, serverDirectory, serverName, START_APP_MESSAGE_REGEXP, userDirectory |
| Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport |
container, log |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport |
contextualize, createArtifact, doExecute, execute, getArtifact, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configFile
protected File configFile
- Location of customized configuration file server.xml
bootstrapPropertiesFile
protected File bootstrapPropertiesFile
- Location of bootstrap.properties file.
bootstrapProperties
protected Map<String,String> bootstrapProperties
jvmOptionsFile
protected File jvmOptionsFile
- Location of jvm.options file.
jvmOptions
protected List<String> jvmOptions
serverEnv
protected File serverEnv
- Location of customized server environment file server.env
overwrite
protected boolean overwrite
- Overwrite existing configuration files even if they are newer.
StartDebugMojoSupport
public StartDebugMojoSupport()
initializeJava
protected net.wasdev.wlp.ant.ServerTask initializeJava()
throws Exception
- Throws:
Exception
copyConfigFiles
protected void copyConfigFiles()
throws IOException
- Throws:
IOException
copyConfigFiles
protected void copyConfigFiles(boolean overwrite)
throws IOException
- Parameters:
serverTask -
- Throws:
IOException
FileNotFoundException
Copyright © 2014. All Rights Reserved.