com.github.keub.maven.plugin.strategy.GitStrategy 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.GitService;
public class GitStrategy implements ProtocolStrategy {
public String getSourceFolder(Resource resource, CopyResourcesMojo copyResourcesMojo, File workspacePlugin)
throws ResourceExecutionException {
return GitService.getSourceFolder(resource, copyResourcesMojo, workspacePlugin);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy