com.atlassian.maven.plugins.pdk
Class InstallPluginMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugins.pdk.BasePdkMojo
          extended by com.atlassian.maven.plugins.pdk.BasePluginServerMojo
              extended by com.atlassian.maven.plugins.pdk.InstallPluginMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class InstallPluginMojo
extends BasePluginServerMojo


Field Summary
protected  java.lang.String installMethod
           
protected  java.io.File pluginFile
           
protected  java.io.File pluginsHome
           
 
Fields inherited from class com.atlassian.maven.plugins.pdk.BasePluginServerMojo
password, pluginKey, serverUrl, username
 
Fields inherited from class com.atlassian.maven.plugins.pdk.BasePdkMojo
artifactFactory, localRepository
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
InstallPluginMojo()
           
 
Method Summary
protected  boolean checkProperties()
           
 void execute()
           
protected  java.lang.String getMode()
           
protected  java.lang.String getTitle()
           
 
Methods inherited from class com.atlassian.maven.plugins.pdk.BasePluginServerMojo
getActionUrl, getPassword, getPluginKey, getServerUrl, getUsername, init, init
 
Methods inherited from class com.atlassian.maven.plugins.pdk.BasePdkMojo
copy, copyFiles, getArtifact, urlEncode
 
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

installMethod

protected java.lang.String installMethod

pluginsHome

protected java.io.File pluginsHome

pluginFile

protected java.io.File pluginFile
Constructor Detail

InstallPluginMojo

public InstallPluginMojo()
Method Detail

getTitle

protected java.lang.String getTitle()
Specified by:
getTitle in class BasePluginServerMojo

checkProperties

protected boolean checkProperties()
Overrides:
checkProperties in class BasePluginServerMojo

execute

public void execute()
             throws org.apache.maven.plugin.MojoFailureException,
                    org.apache.maven.plugin.MojoExecutionException
Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class BasePluginServerMojo
Throws:
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException

getMode

protected java.lang.String getMode()
Specified by:
getMode in class BasePluginServerMojo


Copyright © 2009 Adaptavist.com Ltd. All Rights Reserved.