org.apache.pluto.maven
Class AbstractManagementMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.pluto.maven.AbstractPlutoMojo
          extended by org.apache.pluto.maven.AbstractManagementMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
InstallMojo, ReinstallMojo, UninstallMojo

public abstract class AbstractManagementMojo
extends AbstractPlutoMojo

Abstract Mojo for installation tasks.

Since:
07/29/2005

Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
protected  org.apache.maven.artifact.repository.ArtifactRepository artifactRepository
           
protected  org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
           
protected  String domain
           
protected  String host
           
protected  int port
           
protected  String portalContext
           
protected  Map portletApps
          at parameter expression="${portletApps}"
protected  List remoteRepositories
           
protected  String server
           
protected  String version
           
 
Fields inherited from class org.apache.pluto.maven.AbstractPlutoMojo
installationDirectory, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
protected AbstractManagementMojo()
           
 
Method Summary
protected  InstallationConfig createInstallationConfig()
           
protected  void doValidate()
           
protected  List getEndorsedDependencies()
           
protected  PortalInstaller getHandler()
           
protected  ServerConfig getServerConfig()
           
protected  List getSharedDependencies()
           
 
Methods inherited from class org.apache.pluto.maven.AbstractPlutoMojo
doExecute, execute
 
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

domain

protected String domain

server

protected String server

host

protected String host

port

protected int port

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory

artifactResolver

protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver

artifactRepository

protected org.apache.maven.artifact.repository.ArtifactRepository artifactRepository

remoteRepositories

protected List remoteRepositories

portalContext

protected String portalContext

version

protected String version

portletApps

protected Map portletApps
at parameter expression="${portletApps}"

Constructor Detail

AbstractManagementMojo

protected AbstractManagementMojo()
Method Detail

getSharedDependencies

protected List getSharedDependencies()
                              throws org.apache.maven.artifact.resolver.ArtifactNotFoundException,
                                     org.apache.maven.artifact.resolver.ArtifactResolutionException
Throws:
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.artifact.resolver.ArtifactResolutionException

getEndorsedDependencies

protected List getEndorsedDependencies()
                                throws org.apache.maven.artifact.resolver.ArtifactNotFoundException,
                                       org.apache.maven.artifact.resolver.ArtifactResolutionException
Throws:
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.artifact.resolver.ArtifactResolutionException

getServerConfig

protected ServerConfig getServerConfig()

getHandler

protected PortalInstaller getHandler()

createInstallationConfig

protected InstallationConfig createInstallationConfig()
                                               throws org.apache.maven.artifact.resolver.ArtifactNotFoundException,
                                                      org.apache.maven.artifact.resolver.ArtifactResolutionException
Throws:
org.apache.maven.artifact.resolver.ArtifactNotFoundException
org.apache.maven.artifact.resolver.ArtifactResolutionException

doValidate

protected void doValidate()
                   throws Exception
Specified by:
doValidate in class AbstractPlutoMojo
Throws:
Exception


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.