org.apache.geronimo.mavenplugins.geronimo.module
Class InstallLibraryMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
              extended by org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
                  extended by org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
                      extended by org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
                          extended by 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.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
modules
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
logFile, logOutput, logOutputDirectory, reporters, stopOnFailure
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
artifactRepository, hostname, password, port, project, username
 
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
 
Constructor Summary
InstallLibraryMojo()
           
 
Method Summary
 void execute()
          Provides hooks into the reporting interface to allow for customized reports to be generated for goal executions.
protected  java.lang.String getFullClassName()
          Sub-class must override to provide the goal name.
protected  GeronimoDeploymentManager getGeronimoDeploymentManager()
           
 
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.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
getLogFile
 
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
getArtifactRepository, getProject
 
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
 

Field Detail

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.

Constructor Detail

InstallLibraryMojo

public InstallLibraryMojo()
Method Detail

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.