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

org.codehaus.gmaven.examples.install.InstallMojoSupport Maven / Gradle / Ivy

The newest version!
//
// Generated stub from file:/Users/jason/ws/groovy/gmaven/target/checkout/gmaven-examples/install-maven-plugin/src/main/groovy/org/codehaus/gmaven/examples/install/InstallMojoSupport.groovy
//

package org.codehaus.gmaven.examples.install;

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.codehaus.gmaven.mojo.GroovyMojo;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.installer.ArtifactInstaller;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.codehaus.plexus.digest.Digester;
import java.security.NoSuchAlgorithmException;

/**
 * Support for installation mojos.
 *
 * @version $Id$
 */
abstract public class InstallMojoSupport
    extends org.codehaus.gmaven.mojo.GroovyMojo
    implements groovy.lang.GroovyObject
{
    /**
     * Flag to create checksums(MD5, SHA1) or not.
     *
     * @parameter expression="${createChecksum}" default-value="false"
     */
    private boolean createChecksum = false;
    public boolean getCreateChecksum() {
        throw new InternalError("Stubbed method");
    }
    public boolean isCreateChecksum() {
        throw new InternalError("Stubbed method");
    }
    public void setCreateChecksum(boolean value) {
        throw new InternalError("Stubbed method");
    }

    /**
     * @component
     * @required
     * @readonly
     */
    private ArtifactInstaller installer = null;
    public ArtifactInstaller getInstaller() {
        throw new InternalError("Stubbed method");
    }
    public void setInstaller(ArtifactInstaller value) {
        throw new InternalError("Stubbed method");
    }

    /**
     * @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");
    }

    /**
     * Digester for MD5.
     *
     * @component role-hint="md5"
     */
    private Digester md5Digester = null;
    public Digester getMd5Digester() {
        throw new InternalError("Stubbed method");
    }
    public void setMd5Digester(Digester value) {
        throw new InternalError("Stubbed method");
    }

    /**
     * Digester for SHA-1.
     *
     * @component role-hint="sha1"
     */
    private Digester sha1Digester = null;
    public Digester getSha1Digester() {
        throw new InternalError("Stubbed method");
    }
    public void setSha1Digester(Digester value) {
        throw new InternalError("Stubbed method");
    }

    protected void installCheckSum(File file, boolean isPom) {
        throw new InternalError("Stubbed method");
    }

    protected void installCheckSum(File file, Artifact artifact, boolean isPom) {
        throw new InternalError("Stubbed method");
    }

    protected java.lang.String getChecksum(File file, java.lang.String algo) {
        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");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy