net.wasdev.wlp.maven.plugins.server
Class StartDebugMojoSupport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by net.wasdev.wlp.maven.plugins.AbstractLibertySupport
              extended by net.wasdev.wlp.maven.plugins.BasicSupport
                  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
BasicSupport.InstallType
 
Field Summary
protected  Map<String,String> bootstrapProperties
           
protected  File bootstrapPropertiesFile
          Location of bootstrap.properties file.
protected  File configFile
          Location of customized configuration file server.xml
protected  List<String> jvmOptions
           
protected  File jvmOptionsFile
          Location of jvm.options file.
protected  boolean overwrite
          Overwrite existing configuration files even if they are newer.
protected  File serverEnv
          Location of customized server environment file server.env
 
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 net.wasdev.wlp.maven.plugins.AbstractLibertySupport
ant, artifactRepository, project
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
StartDebugMojoSupport()
           
 
Method Summary
protected  void copyConfigFiles()
           
protected  void copyConfigFiles(boolean overwrite)
           
protected  net.wasdev.wlp.ant.ServerTask initializeJava()
           
 
Methods inherited from class net.wasdev.wlp.maven.plugins.BasicSupport
checkServerDirectoryExists, checkServerHomeExists, init, installServerAssembly
 
Methods inherited from class net.wasdev.wlp.maven.plugins.AbstractLibertySupport
getArtifactRepository, getProject
 
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
 

Field Detail

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.

Constructor Detail

StartDebugMojoSupport

public StartDebugMojoSupport()
Method Detail

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.