spoon:test-generate

Full name:

net.sf.alchim:spoon-maven-plugin:0.7.1:test-generate

Description:

Apply a set of spoonlet on test source.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: generate-test-sources.

Required Parameters

Name Type Since Description
reportDataFile File - The path of the result/log of spoon compiler/analyzer.

Optional Parameters

Name Type Since Description
cfg File - Set to true to show messages about what the compiler is doing. Default value is: ${basedir}/spoon.cfg.xml.
compliance int - Set the jdk compliance level. Default value is: 5.
debug boolean - Set to true to include debugging information in the compiled class files. Default value is: false.
failOnError boolean - Set to true to stop the build if spoon generated warnings Default value is: true.
failOnWarning boolean - Set to true to stop the build if spoon generated warnings Default value is: false.
srcOutputDirectory File - The directory for generated java files.
verbose boolean - Set to true to show messages about what the compiler is doing. Default value is: true.

Parameter Details

cfg :

Set to true to show messages about what the compiler is doing.

  • Type: java.io.File
  • Required: No
  • Expression: ${maven.spoon.cfg}
  • Default: ${basedir}/spoon.cfg.xml

compliance :

Set the jdk compliance level.

  • Type: int
  • Required: No
  • Expression: ${maven.spoon.compliance}
  • Default: 5

debug :

Set to true to include debugging information in the compiled class files.

  • Type: boolean
  • Required: No
  • Expression: ${maven.spoon.debug}
  • Default: false

failOnError :

Set to true to stop the build if spoon generated warnings

  • Type: boolean
  • Required: No
  • Expression: ${maven.spoon.failOnError}
  • Default: true

failOnWarning :

Set to true to stop the build if spoon generated warnings

  • Type: boolean
  • Required: No
  • Expression: ${maven.spoon.failOnWarning}
  • Default: false

reportDataFile :

The path of the result/log of spoon compiler/analyzer.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/spoon-report.csv

srcOutputDirectory :

The directory for generated java files.

  • Type: java.io.File
  • Required: No

verbose :

Set to true to show messages about what the compiler is doing.

  • Type: boolean
  • Required: No
  • Expression: ${maven.spoon.verbose}
  • Default: true