cxx:valgrind

Full name:

org.codehaus.mojo:cxx-maven-plugin:0.0.6-SNAPSHOT:valgrind

Description:

Goal which valgrind executables.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
instrumentedExecutablePath String - Path to executed (tested) program
User property is: valgrind.instrumented.

Optional Parameters

Name Type Since Description
commandArgs String - Arguments for valgrind program. Shall be --leak-check=yes --demangle=yes --xml=yes
Default value is: --leak-check=yes --demangle=yes --xml=yes.
User property is: valgrind.args.
environmentVariables Map 0.0.4 Environment variables passed to valgrind program.
instrumentedExecutableArgs String - Arguments of executed program
Default value is: .
User property is: valgrind.instrumentedArgs.
reportIdentifier String 0.0.4 The Report OutputFile name identifier.
User property is: valgrind.reportIdentifier.
reportsfileDir File 0.0.4 The Report OutputFile Location.
Default value is: ${project.build.directory}/valgrind-reports.
User property is: valgrind.reportsfilePath.
skip boolean 0.0.5 Set this to "true" to bypass unit tests entirely. Its use is NOT RECOMMENDED, especially if you enable it using the "maven.test.skip" property, because maven.test.skip shall disables both running the tests and compiling the tests. Consider using the skipTests parameter instead.
Default value is: false.
User property is: maven.test.skip.
skipTests boolean 0.0.5 Set this to "true" to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion.
Default value is: false.
User property is: skipTests.
workingDir File 0.0.4 The current working directory. Optional. If not specified, basedir will be used.
User property is: valgrind.workingdir.

Parameter Details

commandArgs:

Arguments for valgrind program. Shall be --leak-check=yes --demangle=yes --xml=yes
  • Type: java.lang.String
  • Required: No
  • User Property: valgrind.args
  • Default: --leak-check=yes --demangle=yes --xml=yes

environmentVariables:

Environment variables passed to valgrind program.
  • Type: java.util.Map
  • Since: 0.0.4
  • Required: No

instrumentedExecutableArgs:

Arguments of executed program
  • Type: java.lang.String
  • Required: No
  • User Property: valgrind.instrumentedArgs
  • Default:

instrumentedExecutablePath:

Path to executed (tested) program
  • Type: java.lang.String
  • Required: Yes
  • User Property: valgrind.instrumented

reportIdentifier:

The Report OutputFile name identifier.
  • Type: java.lang.String
  • Since: 0.0.4
  • Required: No
  • User Property: valgrind.reportIdentifier

reportsfileDir:

The Report OutputFile Location.
  • Type: java.io.File
  • Since: 0.0.4
  • Required: No
  • User Property: valgrind.reportsfilePath
  • Default: ${project.build.directory}/valgrind-reports

skip:

Set this to "true" to bypass unit tests entirely. Its use is NOT RECOMMENDED, especially if you enable it using the "maven.test.skip" property, because maven.test.skip shall disables both running the tests and compiling the tests. Consider using the skipTests parameter instead.
  • Type: boolean
  • Since: 0.0.5
  • Required: No
  • User Property: maven.test.skip
  • Default: false

skipTests:

Set this to "true" to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Since: 0.0.5
  • Required: No
  • User Property: skipTests
  • Default: false

workingDir:

The current working directory. Optional. If not specified, basedir will be used.
  • Type: java.io.File
  • Since: 0.0.4
  • Required: No
  • User Property: valgrind.workingdir