I've changed my plugin configuration to the following:
<plugin>
<groupId>org.jbehave</groupId>
<artifactId>jbehave-maven-plugin</artifactId>
<version>$
{jbehave.maven.plugin.version}
</version>
<!-- configuration moved from execution section to plugin section - see http://jira.codehaus.org/browse/JBEHAVE-207 -->
<configuration>
<scenarioIncludes>
<scenarioInclude>**/*CommonStoriesTest.java</scenarioInclude>
</scenarioIncludes>
<scenarioExcludes>
<scenarioExclude>**/*Steps.java</scenarioExclude>
</scenarioExcludes>
<includes>
<include>**/*CommonStoriesTest.java</include>
</includes>
<excludes>
<exclude>**/*Steps.java</exclude>
</excludes>
<metaFilters>
<metaFilter>+author *</metaFilter>
<metaFilter>-skip</metaFilter>
</metaFilters>
<systemProperties>
<property>
<name>java.awt.headless</name>
<value>false</value>
</property>
</systemProperties>
<batch>true</batch>
<generateViewAfterStories>true</generateViewAfterStories>
<ignoreFailureInStories>false</ignoreFailureInStories>
<ignoreFailureInView>false</ignoreFailureInView>
<scope>test</scope>
</configuration>
<executions>
<execution>
<id>run-stories-as-embeddables</id>
<phase>test</phase>
<goals>
<goal>run-stories-as-embeddables</goal>
<goal>report-stepdocs</goal>
<goal>generate-stories-view</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>$
{log4j.version}
</version>
</dependency>
</dependencies>
</plugin>
And this is the new error I obtain:
[INFO] [jbehave:run-stories-as-embeddables
{execution: default-cli}
]
[INFO] Running stories using embedder Embedder[configuration=org.jbehave.core.configuration.MostUsefulConfiguration@1702c48,candid
ateSteps=[],classLoader=EmbedderClassLoader[urls=[/C:/DEV/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace/jbehavekit/t
arget/classes, selenium-java-client-driver-1.0.1.jar, flash-selenium-java-client-extension-1.0.jar, httpclient-4.1-beta1.jar, http
core-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2-beta-4.jar,
commons-collections-3.2.1.jar, commons-io-1.4.jar, commons-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.jar, junit-dep-
4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, junit-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remote-client-2.0
b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-r07.jar, sele
nium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmime-4.0.1.jar,
apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesImpl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-1.3.jar, sele
nium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.jar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, selenium-support-2.0
b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.jar, castor-xm
l-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELEASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar, spring-beans-
3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectjrt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14-10.2.0.2.0.j
ar],parent=org.codehaus.classworlds.RealmClassLoader@10a6ae2],embedderControls=UnmodifiableEmbedderControls[EmbedderControls[batch
=true,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false]],metaFilters=[+author *, -s
kip],systemProperties=
{java.awt.headless=false}
,storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbedderMonit
or]
[INFO] Found class names: [com.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Instantiation failed forcom.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest of type interface org.jbehav
e.core.Embeddable using class loader EmbedderClassLoader[urls=[/C:/DEV/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace
/jbehavekit/target/classes, selenium-java-client-driver-1.0.1.jar, flash-selenium-java-client-extension-1.0.jar, httpclient-4.1-be
ta1.jar, httpcore-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2
-beta-4.jar, commons-collections-3.2.1.jar, commons-io-1.4.jar, commons-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.ja
r, junit-dep-4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, junit-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remo
te-client-2.0b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-
r07.jar, selenium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmim
e-4.0.1.jar, apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesImpl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-
1.3.jar, selenium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.jar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, seleniu
m-support-2.0b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.j
ar, castor-xml-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELEASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar,
spring-beans-3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectjrt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14
-10.2.0.2.0.jar],parent=org.codehaus.classworlds.RealmClassLoader@10a6ae2]
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.jbehave.core.embedder.EmbedderClassLoader$InstantiationFailed: Instantiation failed forcom.gemalto.jbehavekit.pepito.common_st
ories.stories.CommonStoriesTest of type interface org.jbehave.core.Embeddable using class loader EmbedderClassLoader[urls=[/C:/DEV
/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace/jbehavekit/target/classes, selenium-java-client-driver-1.0.1.jar, fla
sh-selenium-java-client-extension-1.0.jar, httpclient-4.1-beta1.jar, httpcore-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.
4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2-beta-4.jar, commons-collections-3.2.1.jar, commons-io-1.4.jar, common
s-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.jar, junit-dep-4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, juni
t-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remote-client-2.0b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0
b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-r07.jar, selenium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2
.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmime-4.0.1.jar, apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesIm
pl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-1.3.jar, selenium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.j
ar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, selenium-support-2.0b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-
jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.jar, castor-xml-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELE
ASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar, spring-beans-3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectj
rt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14-10.2.0.2.0.jar],parent=org.codehaus.classworlds.RealmClassLoader@10a6
ae2]
at org.jbehave.core.embedder.EmbedderClassLoader.newInstance(EmbedderClassLoader.java:39)
at org.jbehave.core.embedder.Embedder.embeddables(Embedder.java:131)
at org.jbehave.core.embedder.Embedder.runAsEmbeddables(Embedder.java:97)
at org.jbehave.mojo.RunStoriesAsEmbeddables.execute(RunStoriesAsEmbeddables.java:17)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: com.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.jbehave.core.embedder.EmbedderClassLoader.newInstance(EmbedderClassLoader.java:37)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Feb 04 18:34:37 CET 2011
[INFO] Final Memory: 14M/27M
[INFO] ------------------------------------------------------------------------
Regards,
Marc
I've changed my plugin configuration to the following:
{jbehave.maven.plugin.version}<plugin>
<groupId>org.jbehave</groupId>
<artifactId>jbehave-maven-plugin</artifactId>
<version>$
</version>
{log4j.version}<!-- configuration moved from execution section to plugin section - see http://jira.codehaus.org/browse/JBEHAVE-207 -->
<configuration>
<scenarioIncludes>
<scenarioInclude>**/*CommonStoriesTest.java</scenarioInclude>
</scenarioIncludes>
<scenarioExcludes>
<scenarioExclude>**/*Steps.java</scenarioExclude>
</scenarioExcludes>
<includes>
<include>**/*CommonStoriesTest.java</include>
</includes>
<excludes>
<exclude>**/*Steps.java</exclude>
</excludes>
<metaFilters>
<metaFilter>+author *</metaFilter>
<metaFilter>-skip</metaFilter>
</metaFilters>
<systemProperties>
<property>
<name>java.awt.headless</name>
<value>false</value>
</property>
</systemProperties>
<batch>true</batch>
<generateViewAfterStories>true</generateViewAfterStories>
<ignoreFailureInStories>false</ignoreFailureInStories>
<ignoreFailureInView>false</ignoreFailureInView>
<scope>test</scope>
</configuration>
<executions>
<execution>
<id>run-stories-as-embeddables</id>
<phase>test</phase>
<goals>
<goal>run-stories-as-embeddables</goal>
<goal>report-stepdocs</goal>
<goal>generate-stories-view</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>$
</version>
</dependency>
</dependencies>
</plugin>
And this is the new error I obtain:
[INFO] [jbehave:run-stories-as-embeddables
{execution: default-cli}]
{java.awt.headless=false}[INFO] Running stories using embedder Embedder[configuration=org.jbehave.core.configuration.MostUsefulConfiguration@1702c48,candid
ateSteps=[],classLoader=EmbedderClassLoader[urls=[/C:/DEV/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace/jbehavekit/t
arget/classes, selenium-java-client-driver-1.0.1.jar, flash-selenium-java-client-extension-1.0.jar, httpclient-4.1-beta1.jar, http
core-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2-beta-4.jar,
commons-collections-3.2.1.jar, commons-io-1.4.jar, commons-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.jar, junit-dep-
4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, junit-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remote-client-2.0
b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-r07.jar, sele
nium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmime-4.0.1.jar,
apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesImpl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-1.3.jar, sele
nium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.jar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, selenium-support-2.0
b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.jar, castor-xm
l-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELEASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar, spring-beans-
3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectjrt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14-10.2.0.2.0.j
ar],parent=org.codehaus.classworlds.RealmClassLoader@10a6ae2],embedderControls=UnmodifiableEmbedderControls[EmbedderControls[batch
=true,skip=false,generateViewAfterStories=true,ignoreFailureInStories=false,ignoreFailureInView=false]],metaFilters=[+author *, -s
kip],systemProperties=
,storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbedderMonit
or]
[INFO] Found class names: [com.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Instantiation failed forcom.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest of type interface org.jbehav
e.core.Embeddable using class loader EmbedderClassLoader[urls=[/C:/DEV/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace
/jbehavekit/target/classes, selenium-java-client-driver-1.0.1.jar, flash-selenium-java-client-extension-1.0.jar, httpclient-4.1-be
ta1.jar, httpcore-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2
-beta-4.jar, commons-collections-3.2.1.jar, commons-io-1.4.jar, commons-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.ja
r, junit-dep-4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, junit-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remo
te-client-2.0b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-
r07.jar, selenium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmim
e-4.0.1.jar, apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesImpl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-
1.3.jar, selenium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.jar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, seleniu
m-support-2.0b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.j
ar, castor-xml-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELEASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar,
spring-beans-3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectjrt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14
-10.2.0.2.0.jar],parent=org.codehaus.classworlds.RealmClassLoader@10a6ae2]
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.jbehave.core.embedder.EmbedderClassLoader$InstantiationFailed: Instantiation failed forcom.gemalto.jbehavekit.pepito.common_st
ories.stories.CommonStoriesTest of type interface org.jbehave.core.Embeddable using class loader EmbedderClassLoader[urls=[/C:/DEV
/workspace/jbehavekit/target/test-classes, /C:/DEV/workspace/jbehavekit/target/classes, selenium-java-client-driver-1.0.1.jar, fla
sh-selenium-java-client-extension-1.0.jar, httpclient-4.1-beta1.jar, httpcore-4.1.jar, commons-logging-1.1.1.jar, commons-codec-1.
4.jar, jbehave-web-selenium-3.2-beta-3.jar, jbehave-core-3.2-beta-4.jar, commons-collections-3.2.1.jar, commons-io-1.4.jar, common
s-lang-2.5.jar, plexus-utils-2.0.5.jar, freemarker-2.3.16.jar, junit-dep-4.8.2.jar, hamcrest-all-1.1.jar, selenium-2.0b1.jar, juni
t-4.8.1.jar, selenium-chrome-driver-2.0b1.jar, selenium-remote-client-2.0b1.jar, cglib-nodep-2.1_3.jar, selenium-remote-common-2.0
b1.jar, selenium-common-2.0b1.jar, json-20080701.jar, guava-r07.jar, selenium-htmlunit-driver-2.0b1.jar, htmlunit-2.8.jar, xalan-2
.7.1.jar, serializer-2.7.1.jar, xml-apis-1.3.04.jar, httpmime-4.0.1.jar, apache-mime4j-0.6.jar, htmlunit-core-js-2.8.jar, xercesIm
pl-2.9.1.jar, nekohtml-1.9.14.jar, cssparser-0.9.5.jar, sac-1.3.jar, selenium-firefox-driver-2.0b1.jar, selenium-ie-driver-2.0b1.j
ar, jna-3.2.2.jar, selenium-iphone-driver-2.0b1.jar, selenium-support-2.0b1.jar, selenium-server-2.0b1.jar, ant-1.6.5.jar, bcprov-
jdk15-135.jar, mx4j-tools-3.0.1.jar, servlet-api-2.5-6.1.9.jar, castor-xml-1.3.1.jar, castor-core-1.3.1.jar, spring-aop-3.0.5.RELE
ASE.jar, aopalliance-1.0.jar, spring-asm-3.0.5.RELEASE.jar, spring-beans-3.0.5.RELEASE.jar, spring-core-3.0.5.RELEASE.jar, aspectj
rt-1.6.2.jar, aspectjlib-1.6.2.jar, jsch-0.1.44.jar, ojdbc14-10.2.0.2.0.jar],parent=org.codehaus.classworlds.RealmClassLoader@10a6
ae2]
at org.jbehave.core.embedder.EmbedderClassLoader.newInstance(EmbedderClassLoader.java:39)
at org.jbehave.core.embedder.Embedder.embeddables(Embedder.java:131)
at org.jbehave.core.embedder.Embedder.runAsEmbeddables(Embedder.java:97)
at org.jbehave.mojo.RunStoriesAsEmbeddables.execute(RunStoriesAsEmbeddables.java:17)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: com.gemalto.jbehavekit.pepito.common_stories.stories.CommonStoriesTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.jbehave.core.embedder.EmbedderClassLoader.newInstance(EmbedderClassLoader.java:37)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Fri Feb 04 18:34:37 CET 2011
[INFO] Final Memory: 14M/27M
[INFO] ------------------------------------------------------------------------
Regards,
Marc