Hi, have you tried with mvn 2.2.1?
I've not really looked at mvn 3 in any detail yet. But even the examples (that work fine with mvn 2.2.x) seem to have classloading problems with mvn 3. So, for the moment, the workaround seem to be to use mvn 2. Cheers On 07/09/2010 18:32, Juergen Zimmermann wrote: > I just tried JBehave 3.0 with Maven 3.0.0-beta3, but had no success. > When running "mvn -e -X" I get the following output. Any hint is appreciated! > > ... > [INFO] --- jbehave-maven-plugin:3.0:run-with-annotated-embedder > (jbehave-tests) > @ testHskaJBehave --- > [DEBUG] Reading resolution tracking file > C:\Users\ziju0001\.m2\repository\org\jb > ehave\jbehave-maven-plugin\3.0\_maven.repositories > [DEBUG] org.jbehave:jbehave-maven-plugin:jar:3.0: > [DEBUG] org.jbehave:jbehave-core:jar:3.0:compile > [DEBUG] commons-collections:commons-collections:jar:3.2.1:compile > [DEBUG] commons-io:commons-io:jar:1.4:compile > [DEBUG] commons-lang:commons-lang:jar:2.5:compile > [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile > [DEBUG] org.freemarker:freemarker:jar:2.3.16:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:compile > [DEBUG] junit:junit-dep:jar:4.5:compile > [DEBUG] org.hamcrest:hamcrest-all:jar:1.1:compile > [DEBUG] Reading resolution tracking file > C:\Users\ziju0001\.m2\repository\org\jb > ehave\jbehave-maven-plugin\3.0\_maven.repositories > [DEBUG] Reading resolution tracking file > C:\Users\ziju0001\.m2\repository\org\jb > ehave\jbehave-core\3.0\_maven.repositories > [DEBUG] Created new class realm plugin>org.jbehave:jbehave-maven-plugin:3.0 > [DEBUG] Populating class realm plugin>org.jbehave:jbehave-maven-plugin:3.0 > [DEBUG] Included: org.jbehave:jbehave-maven-plugin:jar:3.0 > [DEBUG] Included: org.jbehave:jbehave-core:jar:3.0 > [DEBUG] Included: commons-collections:commons-collections:jar:3.2.1 > [DEBUG] Included: commons-io:commons-io:jar:1.4 > [DEBUG] Included: commons-lang:commons-lang:jar:2.5 > [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5 > [DEBUG] Included: org.freemarker:freemarker:jar:2.3.16 > [DEBUG] Included: junit:junit-dep:jar:4.5 > [DEBUG] Included: org.hamcrest:hamcrest-all:jar:1.1 > [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0 > [DEBUG] Configuring mojo > org.jbehave:jbehave-maven-plugin:3.0:run-with-annotated > -embedder from plugin realm > ClassRealm[plugin>org.jbehave:jbehave-maven- > plugin:3.0, parent: ClassRealm[maven.api, parent: null]] > [DEBUG] Configuring mojo > 'org.jbehave:jbehave-maven-plugin:3.0:run-with-annotate > d-embedder' with basic configurator --> > [DEBUG] (f) annotatedEmbedderRunnerClass = > org.jbehave.core.junit.AnnotatedEmb > edderRunner > [DEBUG] (f) batch = false > [DEBUG] (f) compileClasspathElements = > [C:\Users\Public\Documents\eclipse-work > space-swe2\testHskaJBehave\target\classes] > [DEBUG] (f) embedderClass = org.jbehave.core.embedder.Embedder > [DEBUG] (f) generateViewAfterStories = true > [DEBUG] (f) ignoreFailureInStories = false > [DEBUG] (f) ignoreFailureInView = false > [DEBUG] (f) includes = [de.hska.test.HskaAnnotatedEmbedder] > [DEBUG] (f) scope = test > [DEBUG] (f) skip = false > [DEBUG] (f) sourceDirectory = > C:\Users\Public\Documents\eclipse-workspace-swe2 > \testHskaJBehave\src\main\java > [DEBUG] (f) testClasspathElements = > [C:\Users\Public\Documents\eclipse-workspa > ce-swe2\testHskaJBehave\target\test-classes, > C:\Users\Public\Docum- > > ents\eclipse-workspace-swe2\testHskaJBehave\target\classes] > [DEBUG] (f) testSourceDirectory = > C:\Users\Public\Documents\eclipse-workspace- > swe2\testHskaJBehave\src\test\java > [DEBUG] -- end configuration -- > [INFO] Running stories with annotated embedder > org.jbehave.core.junit.AnnotatedE > mbedderRunner > [DEBUG] Searching for class names including > [de.hska.test.HskaAnnotatedEmbedder] > and excluding null > [INFO] Found class names: [] > > I'm not sure whether "includes = [de.hska.test.HskaAnnotatedEmbedder]" is > right. > Or should it be "includes = [de.hska.test.HskaAnnotatedEmbedder.java]". > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
