001    //
002    // Generated stub from file:/builddir/build/BUILD/gmaven-1.3/gmaven-support/filter-plugin/src/main/groovy/org/codehaus/gmaven/filter/Site.groovy
003    //
004    
005    package org.codehaus.gmaven.filter;
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 java.io.File;
016    import java.util.Arrays;
017    import java.util.Collections;
018    import org.apache.maven.execution.MavenSession;
019    import org.apache.maven.model.Resource;
020    import org.apache.maven.plugin.AbstractMojo;
021    import org.apache.maven.plugin.MojoExecutionException;
022    import org.apache.maven.plugin.MojoFailureException;
023    import org.apache.maven.project.MavenProject;
024    import org.apache.maven.shared.filtering.MavenResourcesExecution;
025    import org.apache.maven.shared.filtering.MavenResourcesFiltering;
026    
027    /**
028     * This simply performs standard Maven filtering on <tt>/target/site</tt>.  The result is in
029     * the same folder, so <tt>site:deploy</tt> works without a hitch.  This is much simpler to use than
030     * the filtering mechanism built into the site plugin.
031     *
032     * @author Jason Smith
033     * @requiresDependencyResolution compile
034     * @goal site
035     * @phase process-resources
036     */
037    public class Site
038        extends AbstractMojo
039        implements groovy.lang.GroovyObject
040    {
041        /**
042         * The project.
043         *
044         * @parameter expression="${project}"
045         * @required
046         * @readonly
047         */
048        protected MavenProject project = null;
049    
050        /**
051         * The current session.
052         *
053         * @parameter expression="${session}"
054         * @readonly
055         * @required
056         */
057        protected MavenSession session = null;
058    
059        /**
060         * The filtering object.
061         *
062         * @component role="org.apache.maven.shared.filtering.MavenResourcesFiltering" role-hint="default"
063         * @required
064         */
065        protected MavenResourcesFiltering mavenResourcesFiltering = null;
066    
067        /**
068         * The character encoding scheme to be applied when filtering resources.
069         *
070         * @parameter expression="${encoding}" default-value="${project.build.sourceEncoding}"
071         */
072        protected java.lang.String encoding = null;
073    
074        /**
075         * Expression preceded with the String won't be interpolated 
076         * \${foo} will be replaced with ${foo}* @parameter expression="${maven.resources.escapeString}"
077         */
078        protected java.lang.String escapeString = null;
079    
080        /**
081         * Provides filtering for the site.
082         */
083        public void execute() throws MojoExecutionException, MojoFailureException {
084            throw new InternalError("Stubbed method");
085        }
086    
087        public groovy.lang.MetaClass getMetaClass() {
088            throw new InternalError("Stubbed method");
089        }
090    
091        public void setMetaClass(groovy.lang.MetaClass metaClass) {
092            throw new InternalError("Stubbed method");
093        }
094    
095        public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args) {
096            throw new InternalError("Stubbed method");
097        }
098    
099        public java.lang.Object getProperty(java.lang.String name) {
100            throw new InternalError("Stubbed method");
101        }
102    
103        public void setProperty(java.lang.String name, java.lang.Object value) {
104            throw new InternalError("Stubbed method");
105        }
106    }