com.atlassian.maven.plugins.CopyArtifactsFromListMojo Maven / Gradle / Ivy
//
// Generated stub from file:/src/jira/smartass-maven-plugin/target/checkout/src/main/groovy/com/atlassian/maven/plugins/CopyArtifactsFromListMojo.groovy
//
package com.atlassian.maven.plugins;
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import groovy.lang.*;
import groovy.util.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.resolver.ArtifactResolver;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.project.MavenProject;
import org.codehaus.gmaven.mojo.GroovyMojo;
import org.codehaus.plexus.util.FileUtils;
import java.nio.file.FileSystems;
import java.nio.file.Files;
/**
* Copy artifacts from a gavpc list MOJO.
*
* @goal copy-listed-artifacts
*/
public class CopyArtifactsFromListMojo
extends GroovyMojo
implements groovy.lang.GroovyObject
{
/**
* The gav of the list artifact deployed by generate-dependencies-artifacts mojo
*
* @parameter
*/
private java.lang.String sourceList = null;
public java.lang.String getSourceList() {
throw new InternalError("Stubbed method");
}
public void setSourceList(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The target directory to copy artifacts to
*
* @parameter default-value='${project.build.directory}'
*/
private java.lang.String targetDirectory = null;
public java.lang.String getTargetDirectory() {
throw new InternalError("Stubbed method");
}
public void setTargetDirectory(java.lang.String value) {
throw new InternalError("Stubbed method");
}
/**
* The local Maven repository.
*
* @parameter expression="${localRepository}"
* @required
* @readonly
*/
private ArtifactRepository localRepository = null;
public ArtifactRepository getLocalRepository() {
throw new InternalError("Stubbed method");
}
public void setLocalRepository(ArtifactRepository value) {
throw new InternalError("Stubbed method");
}
/**
* The remote Maven repositories.
*
* @parameter default-value="${project.remoteArtifactRepositories}"
* @required
* @readonly
*/
private List remoteRepositories = null;
public List getRemoteRepositories() {
throw new InternalError("Stubbed method");
}
public void setRemoteRepositories(List value) {
throw new InternalError("Stubbed method");
}
/**
* @component
*/
private ArtifactResolver artifactResolver = null;
public ArtifactResolver getArtifactResolver() {
throw new InternalError("Stubbed method");
}
public void setArtifactResolver(ArtifactResolver value) {
throw new InternalError("Stubbed method");
}
/**
* @parameter expression="${project}"
* @required
* @readonly
*/
private MavenProject project = null;
public MavenProject getProject() {
throw new InternalError("Stubbed method");
}
public void setProject(MavenProject value) {
throw new InternalError("Stubbed method");
}
/**
* The artifact factory
*
* @component
*/
private ArtifactFactory artifactFactory = null;
private Boolean cachedUseHardLinks = null;
/**
* Creates the archive containing the artifacts of this project's dependencies.
* Call from superclass and put your code in closure.
*/
public void execute() throws MojoExecutionException, MojoFailureException {
throw new InternalError("Stubbed method");
}
private static void ensureDirectoryExists(File targetDirectoryFile) {
throw new InternalError("Stubbed method");
}
private java.lang.Object copyOrHardLink(Artifact artifact, File targetDirectoryFile) {
throw new InternalError("Stubbed method");
}
private void createHardLink(File targetDirectoryFile, Artifact artifact) {
throw new InternalError("Stubbed method");
}
private void copyArtifactToDirectory(Artifact artifact, File targetDirectoryFile) {
throw new InternalError("Stubbed method");
}
private void forceDisableHardLinks() {
throw new InternalError("Stubbed method");
}
private boolean useHardLinks() {
throw new InternalError("Stubbed method");
}
public groovy.lang.MetaClass getMetaClass() {
throw new InternalError("Stubbed method");
}
public void setMetaClass(groovy.lang.MetaClass metaClass) {
throw new InternalError("Stubbed method");
}
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
throw new InternalError("Stubbed method");
}
public java.lang.Object getProperty(java.lang.String name) {
throw new InternalError("Stubbed method");
}
public void setProperty(java.lang.String name, java.lang.Object value) {
throw new InternalError("Stubbed method");
}
}