All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.keub.maven.plugin.strategy.GitStrategy Maven / Gradle / Ivy

Go to download

Copy files from a remote location to a path relative to the project in which the plugin is configured.

There is a newer version: 1.8
Show newest version
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