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

2. Configure GreenPepper Maven plugin

The GreenPepper Maven plugin is used during the Preintegration test phase of the build lifecycle to compile and copy the fixtures classes of an application. By default, it copies the classes to:
${project.build.directory}/fixture-test-classes/

The GreenPepper Maven plugin is then used during the Integration test phase of the build lifecycle to execute the specifications of an application. It generates reports in plain HTML file format (*.html). By default, these files are generated in:
$basedir/target/greenpepper-reports/.

The GreenPepper Maven plugin is used during the Postintegration test phase of the build lifecycle to create the fixtures jar of an application. By default, it generates a jar in:
$basedir/target/.

<plugin>
	<groupId>GreenPepper</groupId>
	<artifactId>greenPepper-maven-plugin</artifactId>
	<version>2.6</version>
	<configuration>
	    <source>1.5</source>
	    <target>1.5</target>
	    <fixtureSourceDirectory><!-- put your fixture sources directory --></fixtureSourceDirectory>
	    <fixtureOutputDirectory><!-- put your fixture classes directory --></fixtureOutputDirectory>
	    <specsDirectory><!-- destination for downloaded specification files --></specsDirectory>
	    <resources>
	        <resource>
	            <directory></directory>
	            <excludes>
	                <exclude>**/*.java</exclude>
	            </excludes>
	        </resource>
	    </resources>
	    <repositories>
	        <repository>
		        <type><!-- put your suite resolver class--></type>
		        <suites>
		        	<suite><!-- put your suite uri --></suite>
		        </suites>
	        </repository>
	        <repository>
	            <type><!-- put your test resolver class--></type>
	            <tests>
	            	<test><!-- put your test uri --></test>
	            </tests>
	        </repository>
	    </repositories>
	</configuration>
<plugin>

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