001    //
002    // Generated stub from file:/builddir/build/BUILD/gmaven-1.3/gmaven-examples/install-maven-plugin/src/main/groovy/org/codehaus/gmaven/examples/install/InstallMojoSupport.groovy
003    //
004    
005    package org.codehaus.gmaven.examples.install;
006    
007    import java.lang.*;
008    import java.io.*;
009    import java.net.*;
010    import java.util.*;
011    import groovy.lang.*;
012    import groovy.util.*;
013    import java.math.BigDecimal;
014    import java.math.BigInteger;
015    import org.codehaus.gmaven.mojo.GroovyMojo;
016    import org.apache.maven.artifact.Artifact;
017    import org.apache.maven.artifact.installer.ArtifactInstaller;
018    import org.apache.maven.artifact.repository.ArtifactRepository;
019    import org.codehaus.plexus.digest.Digester;
020    import java.security.NoSuchAlgorithmException;
021    
022    /**
023     * Support for installation mojos.
024     *
025     * @version $Id: InstallMojoSupport.groovy 10 2009-07-16 09:23:15Z user57 $
026     */
027    abstract public class InstallMojoSupport
028        extends org.codehaus.gmaven.mojo.GroovyMojo
029        implements groovy.lang.GroovyObject
030    {
031        /**
032         * Flag to create checksums(MD5, SHA1) or not.
033         *
034         * @parameter expression="${createChecksum}" default-value="false"
035         */
036        private boolean createChecksum = false;
037        public boolean getCreateChecksum() {
038            throw new InternalError("Stubbed method");
039        }
040        public boolean isCreateChecksum() {
041            throw new InternalError("Stubbed method");
042        }
043        public void setCreateChecksum(boolean value) {
044            throw new InternalError("Stubbed method");
045        }
046    
047        /**
048         * @component
049         * @required
050         * @readonly
051         */
052        private ArtifactInstaller installer = null;
053        public ArtifactInstaller getInstaller() {
054            throw new InternalError("Stubbed method");
055        }
056        public void setInstaller(ArtifactInstaller value) {
057            throw new InternalError("Stubbed method");
058        }
059    
060        /**
061         * @parameter expression="${localRepository}"
062         * @required
063         * @readonly
064         */
065        private ArtifactRepository localRepository = null;
066        public ArtifactRepository getLocalRepository() {
067            throw new InternalError("Stubbed method");
068        }
069        public void setLocalRepository(ArtifactRepository value) {
070            throw new InternalError("Stubbed method");
071        }
072    
073        /**
074         * Digester for MD5.
075         *
076         * @component role-hint="md5"
077         */
078        private Digester md5Digester = null;
079        public Digester getMd5Digester() {
080            throw new InternalError("Stubbed method");
081        }
082        public void setMd5Digester(Digester value) {
083            throw new InternalError("Stubbed method");
084        }
085    
086        /**
087         * Digester for SHA-1.
088         *
089         * @component role-hint="sha1"
090         */
091        private Digester sha1Digester = null;
092        public Digester getSha1Digester() {
093            throw new InternalError("Stubbed method");
094        }
095        public void setSha1Digester(Digester value) {
096            throw new InternalError("Stubbed method");
097        }
098    
099        protected void installCheckSum(File file, boolean isPom) {
100            throw new InternalError("Stubbed method");
101        }
102    
103        protected void installCheckSum(File file, Artifact artifact, boolean isPom) {
104            throw new InternalError("Stubbed method");
105        }
106    
107        protected java.lang.String getChecksum(File file, java.lang.String algo) {
108            throw new InternalError("Stubbed method");
109        }
110    
111        public groovy.lang.MetaClass getMetaClass() {
112            throw new InternalError("Stubbed method");
113        }
114    
115        public void setMetaClass(groovy.lang.MetaClass metaClass) {
116            throw new InternalError("Stubbed method");
117        }
118    
119        public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
120            throw new InternalError("Stubbed method");
121        }
122    
123        public java.lang.Object getProperty(java.lang.String name) {
124            throw new InternalError("Stubbed method");
125        }
126    
127        public void setProperty(java.lang.String name, java.lang.Object value) {
128            throw new InternalError("Stubbed method");
129        }
130    }