Dear All! The JBehave Maven plugin is giving me a hard time. I cannot create reports for my scenarios. This is how running "mvn install" looks like:
[INFO]
[INFO] --- jbehave-maven-plugin:2.5.8:run-scenarios (run-scenarios) @ jbehave
---
[INFO] Running scenario org.courseware.scenarios.UserLogsInSuccessfully
login: Liz / JBehaver
message: Welcome, Liz!
[INFO]
[INFO] --- jbehave-maven-plugin:2.5.8:render-reports (render-reports) @ jbehave
---
[INFO] Rendering reports in '/Users/sns/Documents/CourseWare/Java TDD BDD
Practices Tools/workspace/jbehave/target/jbehave-reports' using formats '[txt,
html, xml]' and template properties '{renderedDirectory=rendered,
defaultFormats=stats}'
[INFO] Rendered reports with 0 scenarios (of which 0 failed)
[INFO]
The run-scenarios goal is executed and the one scenario that I have is being
executed. But for the render-reports goal no scenario is run and hence there
are only empty reports.
Attached is the build section from my pom.xml. I have nothing in the report
section.
Many thanks for any help I will hopefully receive.
Greetings,
Stephan
<build>
<plugins>
<plugin>
<groupId>org.jbehave</groupId>
<artifactId>jbehave-maven-plugin</artifactId>
<version>2.5.8</version>
<executions>
<execution>
<id>run-scenarios</id>
<phase>integration-test</phase>
<configuration>
<scope>test</scope>
<classLoaderInjected>false</classLoaderInjected>
<scenarioIncludes>
<scenarioInclude>**/scenarios/*.java</scenarioInclude>
</scenarioIncludes>
<scenarioExcludes>
<scenarioExclude>**/*Steps.java</scenarioExclude>
</scenarioExcludes>
</configuration>
<goals>
<goal>run-scenarios</goal>
</goals>
</execution>
<execution>
<id>render-reports</id>
<phase>post-integration-test</phase>
<configuration>
<scope>test</scope>
<classLoaderInjected>false</classLoaderInjected>
<scenarioIncludes>
<scenarioInclude>**/scenarios/*.java</scenarioInclude>
</scenarioIncludes>
<scenarioExcludes>
<scenarioExclude>**/*Steps.java</scenarioExclude>
</scenarioExcludes>
<outputDirectory>${basedir}/target/jbehave-reports</outputDirectory>
<formats>
<format>txt</format>
<format>html</format>
<format>xml</format>
</formats>
<templateProperties>
<property>
<name>defaultFormats</name>
<value>stats</value>
</property>
<property>
<name>renderedDirectory</name>
<value>rendered</value>
</property>
</templateProperties>
<ignoreFailure>true</ignoreFailure>
<batch>true</batch>
</configuration>
<goals>
<goal>render-reports</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
