Hi,
have you checked the code from git or did you download the src zip?
If you download the src zip, be aware that you need to run the examples
against a fixed version. The problem is that during the release, the
jbehave modules' versions are fixed while the examples are kept on a
snapshot.
Cheers
On 22/11/2011 19:31, Ruchika Batra wrote:
Hi,
I am following the instructions at
http://jbehave.org/reference/stable/running-examples.html for running
the examples; but when i build the core modules using
|mvn -s settings.xml clean install -Pexamples
i get the errors below:
[INFO] Scanning for projects...
Downloading:
http://maven.glassfish.org/content/groups/public/org/jbehave/jbehave-examples/3.6-SNAPSHOT/maven-metadata.xml
Downloading:
http://maven.glassfish.org/content/groups/public/org/jbehave/jbehave-examples/3.6-SNAPSHOT/jbehave-examples-3.6-SNAPSHOT.pom
[ERROR] The build could not read 6 projects -> [Help 1]
[ERROR]
[ERROR] The project
org.jbehave:jbehave-gameoflife-example:3.6-SNAPSHOT
(/Users/tester/jbehave/source/jbehave-3.5.3/examples/gameoflife/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.jbehave:jbehave-groovy-example:3.6-SNAPSHOT
(/Users/||tester||/jbehave/source/jbehave-3.5.3/examples/groovy/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 5, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.jbehave:jbehave-scala-example:3.6-SNAPSHOT
(/Users/||tester||/jbehave/source/jbehave-3.5.3/examples/scala/pom.xml) has
1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 5, column 11 -> [Help 2]
[ERROR]
[ERROR] The project
org.jbehave:jbehave-spring-security-example:3.6-SNAPSHOT
(/Users/||tester||/jbehave/source/jbehave-3.5.3/examples/spring-security/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR] The project org.jbehave:jbehave-threads-example:3.6-SNAPSHOT
(/Users/||tester||/jbehave/source/jbehave-3.5.3/examples/threads/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] The project org.jbehave:jbehave-trader-example:3.6-SNAPSHOT
(/Users/||tester||/jbehave/source/jbehave-3.5.3/examples/trader/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM: Failure to find
org.jbehave:jbehave-examples:pom:3.6-SNAPSHOT in
http://repository.jboss.org/nexus/content/groups/public/ was cached in
the local repository, resolution will not be reattempted until the
update interval of jboss-public-repository-group has elapsed or
updates are forced and 'parent.relativePath' points at wrong local POM
@ line 4, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
How can i fix these errors? Any pointers are appreciated.
Thanks!
|