[ 
http://jira.codehaus.org/browse/JBEHAVE-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266655#action_266655
 ] 

Mauro Talevi commented on JBEHAVE-514:
--------------------------------------

Difficult to help you without seeing your full project.  You could either 
upload the simplified project (simplest possible the reproduces the problem) or 
you could generate a working project using an archetype - a new feature of 3.4 
(see http://jbehave.org/reference/preview/archetypes.html).

> jbehave-maven-plugin ignoring execution
> ---------------------------------------
>
>                 Key: JBEHAVE-514
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-514
>             Project: JBehave
>          Issue Type: Bug
>          Components: Maven Plugin
>    Affects Versions: web-3.3.2
>         Environment: Ubuntu 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
>            Reporter: Gavin Tranter
>            Priority: Critical
>             Fix For: 3.x
>
>
> 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:
> {noformat}
>       <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>
> {noformat}
> Thanks
> Gavin

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to