jstools:ecmaunit

Goal to generate an unit testing report based on ECMAUnit (not available yet)

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.

Required Parameters

Name Type Description
baseDir File Maven Internal : The base directory. Default is ${basedir}
buildDir String Maven Internal : The build directory. Default is ${project.build.directory}

Optional Parameters

Name Type Description
caseSensitive boolean Whether the file selection patterns should be case sensitive. Default is true.
ecmaunitHome String A path pointing to a the desired ECMAUnit directory (e.g. /home/username/stuff/ecmaunit). If no value is provided the plugin wil use its own internal version.
excludes String The excluded files pattern. Default is empty.
helper MavenProjectHelper Maven Internal : A Project Helper instance.
includes String The include pattern used to select javascript files for processing. Default is all (recursive) files with a .js extention
jsDir String The path to the JavaScript source directory (appended to ${basedir}). Default is src/main/js
outputBaseDirectory String The output directory.
siteRenderer SiteRenderer Maven Internal : The Doxia Site Renderer.

Parameter Details

baseDir

Maven Internal : The base directory. Default is ${basedir}

  • Type : java.io.File
  • Required : Yes
  • Expression : ${basedir}

buildDir

Maven Internal : The build directory. Default is ${project.build.directory}

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${project.build.directory}

caseSensitive

Whether the file selection patterns should be case sensitive. Default is true.

  • Type : boolean
  • Required : No
  • Expression : true

ecmaunitHome

A path pointing to a the desired ECMAUnit directory (e.g. /home/username/stuff/ecmaunit). If no value is provided the plugin wil use its own internal version.

  • Type : java.lang.String
  • Required : No

excludes

The excluded files pattern. Default is empty.

  • Type : java.lang.String
  • Required : No

helper

Maven Internal : A Project Helper instance.

  • Type : org.apache.maven.project.MavenProjectHelper
  • Required : No

includes

The include pattern used to select javascript files for processing. Default is all (recursive) files with a .js extention

  • Type : java.lang.String
  • Required : No

jsDir

The path to the JavaScript source directory (appended to ${basedir}). Default is src/main/js

  • Type : java.lang.String
  • Required : No
  • Expression : src/main/js

outputBaseDirectory

The output directory.

  • Type : java.lang.String
  • Required : No
  • Expression : ${project.build.directory}/site/

siteRenderer

Maven Internal : The Doxia Site Renderer.

  • Type : org.codehaus.doxia.site.renderer.SiteRenderer
  • Required : No