Search code examples
testingmavenpom.xmljbehavescenarios

JBehave Error in POM! Multiple annotations found..: - Missing artifact org.jbehave:jbehave-core:zip:resources:3.5- SNAPSHOT:compile..etc


I am using JBehave for Scenario Testing.
while using tutorials i am getting error like below in pom.xml

Missing artifact org.jbehave:jbehave-core:zip:resources:3.5-SNAPSHOT:compile
Missing artifact org.jbehave:jbehave-spring:jar:3.5-SNAPSHOT:compile
Missing artifact org.jbehave:jbehave-core:jar:3.5-SNAPSHOT:compile

But i used pom.xml what they have supplied. i need to do any extra Settings?


Solution

  • Looking in the docs you will need to add -Djbehave.version=[version] or to add the Codehaus snapshot repository. There is more information at the doc page.