org.apache.geronimo.mavenplugins.geronimo.module
Class InstallLibraryMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.pluginsupport.MojoSupport
org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
org.apache.geronimo.mavenplugins.geronimo.module.InstallLibraryMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
public class InstallLibraryMojo
- extends ModuleMojoSupport
Deploy library to a Geronimo server.
- Version:
- $Rev: 713916 $ $Date: 2008-11-14 12:42:29 +0800 (Fri, 14 Nov 2008) $
|
Field Summary |
protected java.lang.String |
groupId
Parameter to specify a non-default group id for the library. |
protected java.io.File |
libraryFile
A file which points to a specific library archive. |
| Fields inherited from class org.codehaus.mojo.pluginsupport.ant.AntMojoSupport |
ant |
| 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.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport |
findModules, getDeploymentManager, getModuleId, getNonRunningModules, isModuleStarted, logModules, logModules, startModule, stopModule, undeployModule, waitFor |
| Methods inherited from class org.codehaus.mojo.pluginsupport.ant.AntMojoSupport |
createFileSet, createTask, inheritProperties, init, initAntLogger, mkdir, setProperty, setSystemProperty, setSystemProperty |
| Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport |
contextualize, createArtifact, doExecute, 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 |
libraryFile
protected java.io.File libraryFile
- A file which points to a specific library archive.
groupId
protected java.lang.String groupId
- Parameter to specify a non-default group id for the library. Otherwise,
the library file will be installed with the group id named default.
InstallLibraryMojo
public InstallLibraryMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Description copied from class:
ReportingMojoSupport
- Provides hooks into the reporting interface to allow for customized reports to be generated
for goal executions.
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class ReportingMojoSupport
- Throws:
org.apache.maven.plugin.MojoExecutionException
getGeronimoDeploymentManager
protected GeronimoDeploymentManager getGeronimoDeploymentManager()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getFullClassName
protected java.lang.String getFullClassName()
- Description copied from class:
ReportingMojoSupport
- Sub-class must override to provide the goal name.
- Specified by:
getFullClassName in class ReportingMojoSupport
- Returns:
- The name of the goal.
Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.