|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.gmaven.filter.Site
public class Site
This simply performs standard Maven filtering on /target/site. The result is in the same folder, so site:deploy works without a hitch. This is much simpler to use than the filtering mechanism built into the site plugin.
Field Summary | |
---|---|
protected String |
encoding
The character encoding scheme to be applied when filtering resources. |
protected String |
escapeString
Expression preceded with the String won't be interpolated \${foo} will be replaced with ${foo}* @parameter expression="${maven.resources.escapeString}" |
protected org.apache.maven.shared.filtering.MavenResourcesFiltering |
mavenResourcesFiltering
The filtering object. |
protected org.apache.maven.project.MavenProject |
project
The project. |
protected org.apache.maven.execution.MavenSession |
session
The current session. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
Site()
|
Method Summary | |
---|---|
void |
execute()
Provides filtering for the site. |
groovy.lang.MetaClass |
getMetaClass()
|
Object |
getProperty(String name)
|
Object |
invokeMethod(String name,
Object args)
|
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProperty(String name,
Object value)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.execution.MavenSession session
protected org.apache.maven.shared.filtering.MavenResourcesFiltering mavenResourcesFiltering
protected String encoding
protected String escapeString
Constructor Detail |
---|
public Site()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass metaClass)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String name)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String name, Object value)
setProperty
in interface groovy.lang.GroovyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |