Home » geronimo-2.2-source-release » org.apache.geronimo.mavenplugins.geronimo.server » [javadoc | source]
org.apache.geronimo.mavenplugins.geronimo.server
abstract public class: InstallerMojoSupport [javadoc | source]
java.lang.Object
   org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
      org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
         org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
            org.apache.geronimo.mavenplugins.geronimo.server.InstallerMojoSupport

Direct Known Subclasses:
    InstallAssemblyMojo, StartMultiServerMojo, StartMojo, StartServerMojo, InstallMojo

Common assembly install support.
Nested Class Summary:
protected static enum class  InstallerMojoSupport.InstallType   
Field Summary
protected  boolean refresh    Enable forced install refresh.
    parameter: expression - ="${refresh}" default-value="false"
 
protected  AssemblyConfig[] assemblies    List of assembly artifact configurations. Artifacts need to point to ZIP archives.
    parameter:
 
protected  String assemblyId    Identifer of the assembly configuration to use.
    parameter: expression - ="${assemblyId}"
 
protected  String defaultAssemblyId    The default assemblyId to use when no assemblyId configured.
    parameter:
 
protected  File assemblyArchive    A file which points to a specific assembly ZIP archive. If this parameter is set, then it will be used instead of from the assemblies configuration.
    parameter: expression - ="${assemblyArchive}"
 
protected  File installDirectory    Directory to install the assembly into.
    parameter: expression - ="${installDirectory}" default-value="${project.build.directory}"
    required:
 
protected  File geronimoHome    The directory where the assembly has been installed to. Normally this value is detected, but if it is set, then it is assumed to be the location where a pre-installed assembly exists and no installation will be done.
    parameter: expression - ="${geronimoHome}"
 
protected  InstallType installType     
Fields inherited from org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport:
logOutput,  logOutputDirectory,  logFile,  reporters,  stopOnFailure
Fields inherited from org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport:
hostname,  port,  username,  password,  project,  artifactRepository
Method from org.apache.geronimo.mavenplugins.geronimo.server.InstallerMojoSupport Summary:
getAssemblyArtifact,   init,   installAssembly
Methods from org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport:
execute,   getFullClassName,   getLogFile
Methods from org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport:
getArtifactRepository,   getProject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.mavenplugins.geronimo.server.InstallerMojoSupport Detail:
 protected Artifact getAssemblyArtifact() throws MojoExecutionException 
    Selects the assembly artifact tp be used for installation.
 protected  void init() throws MojoExecutionException, MojoFailureException 
 protected  void installAssembly() throws Exception 
    Performs assembly installation unless the install type is pre-existing.