org.glassfish.maven
Class AbstractServerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.glassfish.maven.AbstractServerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AbstractDeployMojo, AdminMojo, StartMojo, StopMojo
public abstract class AbstractServerMojo
- extends org.apache.maven.plugin.AbstractMojo
- Author:
- bhavanishankar@dev.java.net
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
PLATFORM_KEY
public static final java.lang.String PLATFORM_KEY
- See Also:
- Constant Field Values
INSTANCE_ROOT_PROP_NAME
public static final java.lang.String INSTANCE_ROOT_PROP_NAME
- See Also:
- Constant Field Values
INSTALL_ROOT_PROP_NAME
public static final java.lang.String INSTALL_ROOT_PROP_NAME
- See Also:
- Constant Field Values
CONFIG_FILE_URI_PROP_NAME
public static final java.lang.String CONFIG_FILE_URI_PROP_NAME
- See Also:
- Constant Field Values
thisArtifactId
public static java.lang.String thisArtifactId
remoteRepositories
protected java.util.List remoteRepositories
- The remote repositories where artifacts are located
serverID
protected java.lang.String serverID
port
protected int port
installRoot
protected java.lang.String installRoot
instanceRoot
protected java.lang.String instanceRoot
configFile
protected java.lang.String configFile
configFileReadOnly
protected java.lang.Boolean configFileReadOnly
ports
protected java.util.Map<java.lang.String,java.lang.String> ports
bootstrapProperties
protected java.util.List<java.lang.String> bootstrapProperties
bootstrapPropertiesFile
protected java.io.File bootstrapPropertiesFile
glassfishProperties
protected java.util.List<java.lang.String> glassfishProperties
glassfishPropertiesFile
protected java.io.File glassfishPropertiesFile
systemProperties
protected java.util.List<java.lang.String> systemProperties
systemPropertiesFile
protected java.io.File systemPropertiesFile
autoDelete
protected java.lang.Boolean autoDelete
project
protected org.apache.maven.project.MavenProject project
- The maven project.
projectBuilder
protected org.apache.maven.project.MavenProjectBuilder projectBuilder
localRepository
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
resolver
protected org.apache.maven.artifact.resolver.ArtifactResolver resolver
factory
protected org.apache.maven.artifact.factory.ArtifactFactory factory
- Used to construct artifacts for deletion/resolution...
containerType
protected java.lang.String containerType
classLoaders
protected static java.util.HashMap<java.lang.String,java.net.URLClassLoader> classLoaders
AbstractServerMojo
public AbstractServerMojo()
execute
public abstract void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
getClassLoader
protected java.net.URLClassLoader getClassLoader()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
cleanupClassLoader
protected void cleanupClassLoader(java.lang.String serverId)
getGlassFishProperties
protected java.util.Properties getGlassFishProperties()
getBootStrapProperties
protected java.util.Properties getBootStrapProperties()
Copyright © 2011. All Rights Reserved.