|
|||||||||
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.mojo.analytics.AbstractPostProcessMojo
org.codehaus.mojo.analytics.InjectAnalyticsMojo
public class InjectAnalyticsMojo
Goal that injects Google analytics script into the generated website. Ought to be executed after site:site and before site:deploy, or added to the site phase.
Field Summary | |
---|---|
protected java.lang.String |
id
Google analytics token to inject into site. |
Fields inherited from class org.codehaus.mojo.analytics.AbstractPostProcessMojo |
---|
encoding, outputDirectory |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
InjectAnalyticsMojo()
|
Method Summary | |
---|---|
void |
execute()
|
Methods inherited from class org.codehaus.mojo.analytics.AbstractPostProcessMojo |
---|
fileRead, fileWrite, processChildrenHtml |
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 java.lang.String id
Constructor Detail |
---|
public InjectAnalyticsMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |