Please send us the whole project src reproducing the problem.  The simplest 
sample project will do.

On 21 Aug 2013, at 16:16, Muhammed Salman <salmanmane...@gmail.com> wrote:

> Hi,
> We are trying to implement combinition of Selenium, JBehave and Thucydides in 
> our organization.
> A few days back it was working for few of us on different machines. But today 
> it complains for all of us :
> 
> '[ERROR] Failed to execute goal 
> org.jbehave:jbehave-maven-plugin:3.8:run-stories-
> as-embeddables (run-stories-as-embeddables) on project BDD: Execution 
> run-storie
> s-as-embeddables of goal 
> org.jbehave:jbehave-maven-plugin:3.8:run-stories-as-emb
> eddables failed: An API incompatibility was encountered while executing 
> org.jbeh
> ave:jbehave-maven-plugin:3.8:run-stories-as-embeddables: 
> java.lang.ExceptionInIn
> itializerError: null'
> 
> We are producing this error when we give 'mvn clean install' from command 
> line. From eclipse it seems to run and the test cases proceeds well.
> 
> The pom.xml looks like 
> 
> 
> <project xmlns="http://maven.apache.org/POM/4.0.0"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.organization.bddtest</groupId>
> <artifactId>BDD</artifactId>
> <version>1.0-SNAPSHOT</version>
> <packaging>jar</packaging>
> <name>BDD</name>
> <url>http://maven.apache.org</url>
> <properties>
>       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>       <webdriver.driver>chrome</webdriver.driver>
>       <jbehave.core.version>3.8</jbehave.core.version>
>       <jbehave.web.version>3.5.5</jbehave.web.version>
>       <jbehave.site.version>3.1.1</jbehave.site.version>
>       <fluent.selenium.version>1.6.4</fluent.selenium.version>
>       <selenium.version>2.32.0</selenium.version>
>       <ignore.failures>true</ignore.failures>
>       <meta.filter></meta.filter>
>       <threads>1</threads>
>       <skip>false</skip>
> </properties>
> <dependencyManagement>
>       <dependencies>
>               <dependency>
>                       <groupId>org.hamcrest</groupId>
>                       <artifactId>hamcrest-library</artifactId>
>                       <version>1.2.1</version>
>               </dependency>
>       </dependencies>
> </dependencyManagement>
> <dependencies>
>       <dependency>
>               <groupId>org.apache.directory.studio</groupId>
>               <artifactId>org.apache.commons.codec</artifactId>
>               <version>1.8</version>
>       </dependency>
>       <dependency>
>               <groupId>org.slf4j</groupId>
>               <artifactId>slf4j-simple</artifactId>
>               <version>1.7.5</version>
>       </dependency>
> <dependency>
>     <groupId>org.apache.geronimo.bundles</groupId>
>     <artifactId>commons-httpclient</artifactId>
>     <version>3.1_2</version>
> </dependency>
>       <dependency>
>               <groupId>log4j</groupId>
>               <artifactId>log4j</artifactId>
>               <version>1.2.17</version>
>       </dependency>
>       <dependency>
>               <groupId>net.thucydides</groupId>
>               <artifactId>thucydides-junit</artifactId>
>               <version>0.9.203</version>
>       </dependency>
>       <dependency>
>               <groupId>org.jbehave</groupId>
>               <artifactId>jbehave-core</artifactId>
>               <version>${jbehave.core.version}</version>
>       </dependency>   
>       <dependency>
>               <groupId>org.jbehave</groupId>
>               <artifactId>jbehave-core</artifactId>
>               <version>${jbehave.core.version}</version>
>               <classifier>resources</classifier>
>               <type>zip</type>
>     </dependency>
>       <dependency>
>               <groupId>org.jbehave.site</groupId>
>               <artifactId>jbehave-site-resources</artifactId>
>               <version>${jbehave.site.version}</version>
>               <type>zip</type>
>       </dependency>
>       <dependency>
>               <groupId>org.jbehave.web</groupId>
>               <artifactId>jbehave-web-selenium</artifactId>
>               <version>3.5.5</version>
>               <exclusions>
>                       <exclusion>
>                               <groupId>org.jbehave</groupId>
>                               <artifactId>jbehave-core</artifactId>
>                       </exclusion>
>                       <exclusion>
>                               <groupId>org.seleniumhq.selenium</groupId>
>                               <artifactId>selenium-java</artifactId>
>                       </exclusion>
>               </exclusions>
>       </dependency>
>       <dependency>
>               <groupId>org.seleniumhq.selenium.fluent</groupId>
>               <artifactId>fluent-selenium</artifactId>
>               <version>${fluent.selenium.version}</version>
>               <optional>true</optional>
>               <exclusions>
>                       <exclusion>
>                               <groupId>org.seleniumhq.selenium</groupId>
>                               <artifactId>selenium-java</artifactId>
>                       </exclusion>
>               </exclusions>
>       </dependency>
>       <dependency>
>               <groupId>junit</groupId>
>               <artifactId>junit-dep</artifactId>
>               <version>4.8.2</version>
>               <exclusions>
>                       <exclusion>
>                               <groupId>org.hamcrest</groupId>
>                               <artifactId>hamcrest-core</artifactId>
>                       </exclusion>
>               </exclusions>
>       </dependency>
>       <dependency>
>               <groupId>org.seleniumhq.selenium</groupId>
>               <artifactId>selenium-java</artifactId>
>               <version>${selenium.version}</version>
>               <exclusions>
>                       <exclusion>
>                               <groupId>org.hamcrest</groupId>
>                               <artifactId>hamcrest-core</artifactId>
>                       </exclusion>
>               </exclusions>
>       </dependency>  
>       <dependency>
>               <groupId>net.thucydides</groupId>
>               <artifactId>thucydides-core</artifactId>
>               <version>0.9.203</version>
>       </dependency>
>       <dependency>
>               <groupId>net.thucydides</groupId>
>               <artifactId>thucydides-jbehave-plugin</artifactId>
>               <version>0.9.203</version>
>       </dependency>
>       <dependency>
>               <groupId>net.thucydides.maven.plugins</groupId>
>               <artifactId>maven-thucydides-plugin</artifactId>
>               <version>0.9.203</version>
>       </dependency>
>       <dependency>
>               <groupId>org.hamcrest</groupId>
>               <artifactId>hamcrest-all</artifactId>
>               <version>1.1</version>
>       </dependency>
> </dependencies>
> <build>
>       <pluginManagement>
>               <plugins>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-compiler-plugin</artifactId>
>                               <version>3.1</version>
>                               <configuration>
>                                       <source>1.7</source>
>                                       <target>1.7</target>
>                               </configuration>
>                       </plugin>
>                       <plugin>
>                               <groupId>org.apache.maven.plugins</groupId>
>                               <artifactId>maven-dependency-plugin</artifactId>
>                               <version>2.8</version>
>                       </plugin>
>               </plugins>
>       </pluginManagement>
>       <plugins>
>               <plugin>
>                       <groupId>org.jbehave</groupId>
>                       <artifactId>jbehave-maven-plugin</artifactId>
>                       <version>3.8</version>
>                       <executions>
>                               <execution>
>                                       <id>run-stories-as-embeddables</id>
>                                       <phase>integration-test</phase>
>                                       <configuration>
>                                               <includes>
>                                                       
> <include>**/OpenStories.java</include>
>                                               </includes>
>                                               <systemProperties>
>                                                       <property>
>                                                               
> <name>java.awt.headless</name>
>                                                               
> <value>true</value>
>                                                       </property>
>                                               </systemProperties>
>                                               
> <ignoreFailureInStories>true</ignoreFailureInStories>
>                                               
> <ignoreFailureInView>false</ignoreFailureInView>
>                                               <scope>test</scope>
>                                       </configuration>
>                                       <goals>
>                                               
> <goal>run-stories-as-embeddables</goal>         
>                                       </goals>
>                               </execution>
>                       </executions>
>                       <dependencies>
>                               <dependency>
>                                       <groupId>log4j</groupId>
>                                       <artifactId>log4j</artifactId>
>                                       <version>1.2.17</version>
>                               </dependency>
>                               <dependency>
>                                       <groupId>com.google.guava</groupId>
>                                       <artifactId>guava</artifactId>
>                                       <version>11.0.1</version>
>                               </dependency>
>                       </dependencies>
>               </plugin>
>       </plugins>
> </build>
> </project>

Reply via email to