public class FTPArtifactHandlerImpl extends ArtifactHandlerBase
| Modifier and Type | Field and Description |
|---|---|
private static int |
DEFAULT_MAX_RETRY_TIMES |
private static String |
DEFAULT_WEBAPP_ROOT |
mojo| Constructor and Description |
|---|
FTPArtifactHandlerImpl(AbstractAppServiceMojo mojo) |
| Modifier and Type | Method and Description |
|---|---|
protected FTPUploader |
getUploader() |
protected boolean |
isResourcesPreparationRequired(DeployTarget target) |
void |
publish(DeployTarget target) |
protected void |
uploadDirectoryToFTP(DeployTarget target) |
assureStagingDirectoryNotEmpty, prepareResourcesprivate static final String DEFAULT_WEBAPP_ROOT
private static final int DEFAULT_MAX_RETRY_TIMES
public FTPArtifactHandlerImpl(@Nonnull AbstractAppServiceMojo mojo)
protected boolean isResourcesPreparationRequired(DeployTarget target)
public void publish(DeployTarget target) throws IOException, org.apache.maven.plugin.MojoExecutionException
IOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected void uploadDirectoryToFTP(DeployTarget target) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected FTPUploader getUploader()
Copyright © 2018. All rights reserved.