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

com.github.keub.maven.plugin.service.ProjectService 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.service;

import com.github.keub.maven.plugin.model.Project;
import com.github.keub.maven.plugin.model.Resource;

public class ProjectService {

	/**
	 * 

* get project from a resource *

* * @param resource * @return */ public static Project getProject(Resource resource) { Project retval = new Project(); retval.setUri(resource.getUri()); retval.setUsername(resource.getUsername()); retval.setPassword(resource.getPassword()); retval.setBranchTagName(resource.getBranchTagName()); return retval; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy