org.codehaus.mojo.analytics
Class InjectAnalyticsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.analytics.AbstractPostProcessMojo
org.codehaus.mojo.analytics.InjectAnalyticsMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class InjectAnalyticsMojo
- extends AbstractPostProcessMojo
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.
- Author:
- mkleint@codehaus.org
Field Summary |
protected String |
id
Google analytics token to inject into site. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
id
protected String id
- Google analytics token to inject into site.
InjectAnalyticsMojo
public InjectAnalyticsMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2011 Codehaus. All Rights Reserved.