|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.wikitty.plugin.AbstractWPMojo
org.nuiton.wikitty.plugin.AbstractWPLoadDependencyMojo
org.nuiton.wikitty.plugin.WPDeployJarMojo
public class WPDeployJarMojo
To deploy a wikitty publication jar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary | |
|---|---|
protected boolean |
chmod
Whether to run the "chmod" command on the remote site after the deploy. |
protected String |
chmodMode
The mode used by the "chmod" command. |
protected String |
chmodOptions
The options used by the "chmod" command. |
protected org.codehaus.plexus.PlexusContainer |
container
|
protected File |
fileToDeploy
file to deploy |
protected org.apache.maven.execution.MavenSession |
mavenSession
|
protected org.apache.maven.wagon.proxy.ProxyInfo |
proxyInfo
|
protected org.apache.maven.plugins.site.wagon.repository.Repository |
repository
|
protected String |
serverId
Id of server. |
protected String |
serverUrl
URL of server to use to log into server. |
protected org.apache.maven.settings.Settings |
settings
The current user system settings for use in Maven. |
protected org.apache.maven.settings.crypto.SettingsDecrypter |
settingsDecrypter
|
protected org.apache.maven.wagon.Wagon |
wagon
|
protected org.apache.maven.artifact.manager.WagonManager |
wagonManager
|
protected Map<String,org.apache.maven.wagon.Wagon> |
wagons
All available wagons. |
| Fields inherited from class org.nuiton.wikitty.plugin.AbstractWPLoadDependencyMojo |
|---|
factory, installer, repositoryFactory |
| Fields inherited from class org.nuiton.wikitty.plugin.AbstractWPMojo |
|---|
APPLICATION_DIR_NAME, applicationName, IMAGES_RESOURCES_DIR_NAME, JAR_RESOURCES_DIR_NAME, MAIN_DIR_NAME, project, RESOURCES_DIR_NAME, SRC_DIR_NAME, verbose, wikittyServiceUrl |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
WPDeployJarMojo()
|
|
| Method Summary | |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context)
|
protected void |
doAction()
|
protected String |
getMavenVersion()
|
org.apache.maven.wagon.proxy.ProxyInfo |
getProxyInfo()
Get the ProxyInfo of the proxy associated with the
host and the protocol of the given
repository. |
protected void |
init()
|
protected boolean |
isMaven3OrMore()
|
| Methods inherited from class org.nuiton.wikitty.plugin.AbstractWPMojo |
|---|
getApplicationName, getProject, getWikittyServiceUrl, isVerbose, setApplicationName, setProject, setVerbose, setWikittyServiceUrl |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile |
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Field Detail |
|---|
protected String serverId
protected String serverUrl
protected boolean chmod
protected String chmodMode
protected String chmodOptions
protected org.apache.maven.artifact.manager.WagonManager wagonManager
protected org.apache.maven.settings.Settings settings
protected org.apache.maven.execution.MavenSession mavenSession
protected org.codehaus.plexus.PlexusContainer container
protected org.apache.maven.plugins.site.wagon.repository.Repository repository
protected Map<String,org.apache.maven.wagon.Wagon> wagons
protected org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter
protected org.apache.maven.wagon.proxy.ProxyInfo proxyInfo
protected org.apache.maven.wagon.Wagon wagon
protected File fileToDeploy
| Constructor Detail |
|---|
public WPDeployJarMojo()
| Method Detail |
|---|
protected void init()
throws Exception
init in class AbstractWPLoadDependencyMojoException
protected void doAction()
throws Exception
doAction in class org.nuiton.plugin.AbstractPluginExceptionprotected boolean isMaven3OrMore()
protected String getMavenVersion()
public org.apache.maven.wagon.proxy.ProxyInfo getProxyInfo()
Get the ProxyInfo of the proxy associated with the
host and the protocol of the given
repository.
Extract from J2SE Doc : Networking Properties - nonProxyHosts : "The value can be a list of hosts, each separated by a |, and in addition a wildcard character (*) can be used for matching"
Defensively support for comma (",") and semi colon (";") in addition to pipe ("|") as separator.
null if no
matching proxy is found
public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||