Dashboard > GreenPepper Open Documentation Refactoring > ... > Maven plugin goals > Maven plugin run
  GreenPepper Open Documentation Refactoring Log In View a printable version of the current page.  
  Maven plugin run
Added by Laurent Cobos, last edited by Francois Denommee on Jun 16, 2010  (view change)
Labels: 
(None)

greenpepper:run

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
testFailureIgnore Boolean Set this to true to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.

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

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators