org.jnario.maven
Class JnarioDocGenerate

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.eclipse.xtend.maven.AbstractXtend2CompilerMojo
          extended by org.eclipse.xtend.maven.XtendTestCompile
              extended by 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

Field Summary
 
Fields inherited from class org.eclipse.xtend.maven.AbstractXtend2CompilerMojo
encoding, FILE_EXISTS, project, skipXtend
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JnarioDocGenerate()
           
 
Method Summary
protected  void addExecutionResults(org.jnario.report.HashBasedSpec2ResultMapping resultMapping, File reportFolder)
           
protected  void compileTestSources(org.eclipse.xtend.core.compiler.batch.XtendBatchCompiler xtend2BatchCompiler)
           
protected  org.jnario.report.HashBasedSpec2ResultMapping createSpec2ResultMapping(List<com.google.inject.Injector> injectors)
           
 void execute()
           
protected  void generateCssAndJsFiles(List<com.google.inject.Injector> injectors)
           
protected  List<String> getTestClassPath()
           
 
Methods inherited from class org.eclipse.xtend.maven.XtendTestCompile
getTempDirectory, internalExecute
 
Methods inherited from class org.eclipse.xtend.maven.AbstractXtend2CompilerMojo
addDependencies, compile, configureLog4j, createMojoLogAppender, createXtendBatchCompiler, isSkipped
 
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
 

Constructor Detail

JnarioDocGenerate

public JnarioDocGenerate()
Method Detail

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.