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

Gavin Tranter commented on JBEHAVE-514:
---------------------------------------

Hi,
Thank you for your prompt reply.
I have both tried mvn clean install and already have m2e installed.
I have included the out put from Run as ... Maven Install from eclipse:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Portal Acceptance Tests 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ 
portal-acceptance ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ 
portal-acceptance ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.1:testResources (default-testResources) @ 
portal-acceptance ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ 
portal-acceptance ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @ portal-acceptance 
---
[INFO] Surefire report directory: 
/home/gavintranter/Documents/blue/PortalAcceptance/target/surefire-reports
[INFO] 
[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ portal-acceptance ---
[INFO] 
[INFO] --- maven-install-plugin:2.3:install (default-install) @ 
portal-acceptance ---
[INFO] Skipped re-installing 
/home/gavintranter/Documents/blue/PortalAcceptance/target/portal-acceptance-0.0.1-SNAPSHOT.jar
 to 
/home/gavintranter/.m2/repository/xxx/xxxxxxxx/portal-acceptance/0.0.1-SNAPSHOT/portal-acceptance-0.0.1-SNAPSHOT.jar,
 seems unchanged
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.951s
[INFO] Finished at: Fri May 13 15:43:49 BST 2011
[INFO] Final Memory: 7M/164M
[INFO] ------------------------------------------------------------------------




> 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