org.apache.maven.plugins.site
Class SiteDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.site.SiteDeployMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class SiteDeployMojo
- extends org.apache.maven.plugin.AbstractMojo
Deploys website using scp/file protocol.
For scp protocol, website files are packaged into zip archive,
then archive is transfred to remote host, nextly it is un-archived.
This method of deployment should normally be much faster
then making file by file copy. For file protocol, the files are copied
directly to the destination directory.
- Version:
- $Id: SiteDeployMojo.java 393119 2006-04-10 23:33:52Z jdcasey $
- Author:
- Michal Maczka
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
void |
execute()
|
static org.apache.maven.wagon.proxy.ProxyInfo |
getProxyInfo(org.apache.maven.settings.Settings settings)
Convenience method to map a Proxy object from the user system settings to a
ProxyInfo object. |
| 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 |
SiteDeployMojo
public SiteDeployMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getProxyInfo
public static org.apache.maven.wagon.proxy.ProxyInfo getProxyInfo(org.apache.maven.settings.Settings settings)
- Convenience method to map a
Proxy object from the user system settings to a
ProxyInfo object.
- Returns:
- a proxyInfo object instancied or null if no active proxy is define in the settings.xml
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.