Details
-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Not A Bug
-
Affects Version/s: 3.3.2
-
Component/s: Maven Plugin
-
Labels:None
-
Environment:HideUbuntu 10.4
Java 1.6
STS (Eclipse)
Maven 3.0-SNAPSHOT/0.10.0.201202009-0800) (via STS) or
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux" version: "2.6.32-31-generic" arch: "amd64" Family: "unix"
JBehave 3.3.2
jbehave-maven-plugin 3.3.2ShowUbuntu 10.4 Java 1.6 STS (Eclipse) Maven 3.0-SNAPSHOT/0.10.0.201202009-0800) (via STS) or Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "linux" version: "2.6.32-31-generic" arch: "amd64" Family: "unix" JBehave 3.3.2 jbehave-maven-plugin 3.3.2
-
Number of attachments :
Description
when trying to execute a package on a maven project with jbehave and jbehave-maven-plugin configured Maven fails to execute the jbehave goal. This is regardless of weather I execute it with in Eclipse or on the commandline.
However if I issue the following command on the command line the jbehave-maven-plugin is executed and runs the acceptance tests:
mvn clean package org.jbehave:jbehave-maven-plugin:3.3.2:run-stories-as-embeddables
The command I use in Eclipse is:
jbehave:run-stories-as-embeddables
I have configured the jbehave plugin:
<plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.jbehave</groupId> <artifactId>jbehave-maven-plugin</artifactId> <version>3.3.2</version> <configuration> <scope>test</scope> <includes> <include>**/*.java</include> </includes> <metaFilters> <metaFilter>+author *</metaFilter> <metaFilter>-skip</metaFilter> </metaFilters> <systemProperties> <property> <name>java.awt.headless</name> <value>true</value> </property> </systemProperties> <ignoreFailureInStories>true</ignoreFailureInStories> <ignoreFailureInView>false</ignoreFailureInView> </configuration> <executions> <execution> <id>run-stories-as-embeddables</id> <phase>test</phase> <goals> <goal>run-stories-as-embeddables</goal> </goals> </execution> </executions> </plugin> </plugins>
Thanks
Gavin
Activity
Mauro Talevi
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 3.4.3 [ 17400 ] | |
Fix Version/s | 3.x [ 16979 ] | |
Affects Version/s | 3.3.2 [ 17308 ] | |
Affects Version/s | web-3.3.2 [ 17361 ] |
Mauro Talevi
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Not A Bug [ 6 ] |
Mauro Talevi
made changes -
Fix Version/s | 3.5 [ 17393 ] |
Have you tried executing:
The Maven goal is bound by default to the integration-test phase, so you don't need to specify the goal.