|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.geronimo.genesis.MojoSupport org.apache.geronimo.genesis.AntMojoSupport org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport org.apache.geronimo.mavenplugins.geronimo.server.InstallerMojoSupport
Common assembly install support.
Field Summary | |
protected AssemblyConfig[] |
assemblies
List of assembly artifact configurations. |
protected File |
assemblyArchive
A file which points to a specific assembly ZIP archive. |
protected String |
assemblyId
Identifer of the assembly configuration to use. |
protected String |
defaultAssemblyId
The default assemblyId to use when no assemblyId configured. |
protected File |
geronimoHome
The directory where the assembly has been installed to. |
protected static int |
INSTALL_ALREADY_EXISTS
|
protected static int |
INSTALL_FROM_ARTIFACT
|
protected static int |
INSTALL_FROM_FILE
|
protected File |
installDirectory
Directory to install the assembly into. |
protected int |
installType
|
protected boolean |
refresh
Enable forced install refresh. |
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport |
logFile, logOutput, logOutputDirectory, reporters |
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport |
artifactFactory, artifactRepository, artifactResolver, hostname, password, port, project, username |
Fields inherited from class org.apache.geronimo.genesis.AntMojoSupport |
ant |
Fields inherited from class org.apache.geronimo.genesis.MojoSupport |
log |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary | |
InstallerMojoSupport()
|
Method Summary | |
protected org.apache.maven.artifact.Artifact |
getAssemblyArtifact()
Selects the assembly artifact tp be used for installation. |
protected void |
init()
|
protected void |
installAssembly()
Performs assembly installation unless the install type is pre-existing. |
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport |
execute, getGoalName, getLogFile |
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport |
getArtifactFactory, getArtifactRepository, getArtifactResolver, getProject |
Methods inherited from class org.apache.geronimo.genesis.AntMojoSupport |
createFileSet, createTask, inheritProperties, initAntLogger, mkdir, setProperty |
Methods inherited from class org.apache.geronimo.genesis.MojoSupport |
createArtifact, doExecute, getArtifact |
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 |
protected boolean refresh
protected AssemblyConfig[] assemblies
protected String assemblyId
protected String defaultAssemblyId
protected File assemblyArchive
protected File installDirectory
protected File geronimoHome
protected static final int INSTALL_FROM_ARTIFACT
protected static final int INSTALL_FROM_FILE
protected static final int INSTALL_ALREADY_EXISTS
protected int installType
Constructor Detail |
public InstallerMojoSupport()
Method Detail |
protected void init() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected org.apache.maven.artifact.Artifact getAssemblyArtifact() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- Failed to select assembly artifactprotected void installAssembly() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |