org.jnario.maven
Class JnarioDocGenerate
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.xtend.maven.AbstractXtend2CompilerMojo
org.eclipse.xtend.maven.XtendTestCompile
org.jnario.maven.JnarioDocGenerate
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JnarioDocGenerate
- extends XtendTestCompile
Goal which generates Jnario documentation.
- Author:
- Sebastian Benz - Initial contribution and API
| 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 |
JnarioDocGenerate
public JnarioDocGenerate()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractXtend2CompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
createSpec2ResultMapping
protected org.jnario.report.HashBasedSpec2ResultMapping createSpec2ResultMapping(List<com.google.inject.Injector> injectors)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
generateCssAndJsFiles
protected void generateCssAndJsFiles(List<com.google.inject.Injector> injectors)
addExecutionResults
protected void addExecutionResults(org.jnario.report.HashBasedSpec2ResultMapping resultMapping,
File reportFolder)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
compileTestSources
protected void compileTestSources(org.eclipse.xtend.core.compiler.batch.XtendBatchCompiler xtend2BatchCompiler)
throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
compileTestSources in class XtendTestCompile
- Throws:
org.apache.maven.plugin.MojoExecutionException
getTestClassPath
protected List<String> getTestClassPath()
- Overrides:
getTestClassPath in class XtendTestCompile
Copyright © 2012 BMW Car IT. All Rights Reserved.