com.github.keub.maven.plugin.strategy.FtpStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of remote-resources-maven-plugin Show documentation
Show all versions of remote-resources-maven-plugin Show documentation
Copy files from a remote location to a path relative to the project in which the plugin is configured.
package com.github.keub.maven.plugin.strategy;
import java.io.File;
import com.github.keub.maven.plugin.exception.ResourceExecutionException;
import com.github.keub.maven.plugin.model.Resource;
import com.github.keub.maven.plugin.resources.CopyResourcesMojo;
import com.github.keub.maven.plugin.service.FtpService;
public class FtpStrategy implements ProtocolStrategy {
public String getSourceFolder(Resource resource,
CopyResourcesMojo copyResourcesMojo, File workspacePlugin)
throws ResourceExecutionException {
return FtpService.getSourceFolder(resource, copyResourcesMojo,
workspacePlugin);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy