Dashboard > GreenPepper Server > ... > Maven guide > Maven plugin run
 GreenPepperThis Space is not registered in GreenPepper Server.

It executes the GreenPepper specifications.

Mojo attributes:

  • Requires a Maven 2.0 project to execute
  • Requires dependency resolution of artifacts in scope: test
  • Automatically executes within the lifecycle phase: integration test

Required parameters

Name Type Description
basedir File The base directory of the project being tested. This can be obtained in your unit test by System.getProperty("basedir").
classesDirectory File The directory containing generated classes of the project being tested.
fixtureOutputDirectory File The directory containing generated fixture classes of the project being tested.
repositories Repository Suite or test uri of specifications to test.
reportsDirectory File Output directory of the generated reports.
stopOnFirstFailure Boolean Stop the execution of the specification on the first failure

Parameter details

basedir: The base directory of the project being tested. This can be obtained in your unit test by System.getProperty("basedir").

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


classesDirectory: The directory containing generated classes of the project being tested.

  • Type: java.util.List
  • Required: Yes
  • Expression: ${project.build.outputDirectory}


fixtureOutputDirectory: The output directory into which to copy the resources.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/fixture-test-classes


reportsDirectory: Output directory of the generated reports.

  • Type: java.io.File
  • Required: yes
  • Expression: ${project.build.directory}/greenpepper-reports
© Pyxis Technologies Inc.. All rights reserved. GreenPepper® is registered to Pyxis Technologies inc.