erlang:cover-report

Note: This goal should be used as a Maven report.

Full name:

net.sf.maven-erlang:erlang-plugin:1.0-SNAPSHOT:cover-report

Description:

Generate the cover report.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Invokes the execution of the lifecycle phase test prior to executing itself.
  • Executes in its own lifecycle: cover-report.

Required Parameters

Name Type Since Description
outputDirectory File - The output directory for the report. Default value is: ${project.reporting.outputDirectory}.
outputName String - The filename to use for the report. Default value is: cover-report.

Optional Parameters

Name Type Since Description
erlPath String - Path to the erlang installation directory.
sourceDirectory File - Directory with module source code.
testBeamDirectory File - Directory where the beam files are created.
testSourceDirectory File - Directory with test module source code.
xslStylesheet File - The stylesheet for the transformation. If not present, the plug-in will use the default stylesheet.

Parameter Details

erlPath :

Path to the erlang installation directory.
  • Type: java.lang.String
  • Required: No

outputDirectory :

The output directory for the report.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.reporting.outputDirectory}

outputName :

The filename to use for the report.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputName}
  • Default: cover-report

sourceDirectory :

Directory with module source code.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/main/erlang/

testBeamDirectory :

Directory where the beam files are created.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/test

testSourceDirectory :

Directory with test module source code.
  • Type: java.io.File
  • Required: No
  • Expression: ${basedir}/src/test/erlang/

xslStylesheet :

The stylesheet for the transformation. If not present, the plug-in will use the default stylesheet.
  • Type: java.io.File
  • Required: No