Error while Integrating Serenity with Jira for BDD

283 views
Skip to first unread message

Balaji M

unread,
Aug 30, 2015, 1:03:34 PM8/30/15
to Serenity BDD Users Group
Hi ,

I am new to Serenity and i managed to link maven to jbehave using the instruction

mvn archetype:generate -Dfilter=net.serenity-bdd:serenity-jbehave-archetype


and when i try to configure Jira by doing changes to pom.xml and serenity.properties i am getting error

[ERROR] Failed to execute goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate (serenity-reports) on project ex3Serenity: Execution serenity-reports of goal net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate failed: An API incompatibility was encountered while executing net.serenity-bdd.maven.plugins:serenity-maven-plugin:1.1.4:aggregate: java.lang.NoSuchMethodError: org.hamcrest.CoreMatchers.startsWith(Ljava/lang/String;)Lorg/hamcrest/Matcher;


i have tried with serenity version 1.1.7, 1.1.6, 1.1.5 and 1.1.4

have attached the Build Failure report and the pom.xml file. 

Any help would be very useful for me and Thanks for help in advance.

Best Regards
Balaji.M

Build Error.txt
pom.xml

John Smart

unread,
Aug 30, 2015, 4:58:17 PM8/30/15
to Balaji M, Serenity BDD Users Group
You may have hamcrest 1.1 in your dependencies - try placing hamcrest 1.3 in your top-level project dependencies

--
You received this message because you are subscribed to the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
___________________________________________________
John Smart | Wakaleo Consulting  |  +61 407 247 642
Optimizing your software development process
http://www.wakaleo.com  |  john....@wakaleo.com
___________________________________________________

We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops in Agile Requirements Discovery, Behaviour Driven Development, Agile Development Practices, and Test Automation!
___________________________________________________

Balaji M

unread,
Aug 31, 2015, 8:42:58 PM8/31/15
to John Smart, Serenity BDD Users Group
Hi John,
Thanks for the reply, i have updated with hamcrest 1.3 and tried to run and getting a new error

[INFO] Loading child requirements for Workflow-Story 1 done: 0
Sep 01, 2015 6:08:36 AM freemarker.log._JULLoggerFactory$JULLogger error
SEVERE: Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> reportName.forRequirementOrTag  [in template "freemarker/home.ftl" at line 496, column 38]

attaching the output.log and pom.xml

Please can you help us on this.


Best Regards
Balaji.M
Output_FreeMarker.log.txt
pom.xml

John Smart

unread,
Aug 31, 2015, 8:55:02 PM8/31/15
to Balaji M, Serenity BDD Users Group
Can you provide a sample project that reproduces this issue?

Balaji M

unread,
Sep 1, 2015, 11:06:21 AM9/1/15
to Serenity BDD Users Group, balaji....@gmail.com
Hi John,
Thanks for your time to investigate the issue.Please find the sample project in zip file.

Thanks & Regards
Balaji.M
ex4.zip

Balaji M

unread,
Sep 1, 2015, 12:49:30 PM9/1/15
to Serenity BDD Users Group, balaji....@gmail.com
Hi John,
Just wanted to let you know that I am connecting to Jira 6.4.7 version and Jira Agile 6.7.11, thought this will be useful.

Thanks and Regards
Balaji.M

On Tuesday, September 1, 2015 at 6:25:02 AM UTC+5:30, John Smart wrote:

Balaji M

unread,
Sep 2, 2015, 6:13:30 AM9/2/15
to John Smart, Serenity BDD Users Group
Hi John,
Please find the sample project which i had been trying with and i have shared the link to download the files from my google drive.



Let me know if you cannot access the files, i will try sending it another way.

Regards
Balaji.M

Balaji M

unread,
Sep 3, 2015, 8:19:42 PM9/3/15
to Serenity BDD Users Group, john....@wakaleo.com
Hi John,
Just wanted to know if you were able to download the sample project which i had uploaded and any luck with the resolution for the issue?

Are you also getting the similar issue like me when you are trying to integrate with JIRA?

Please help me by providing the workaround.

Thanks and Regards
Balaji.M

Balaji M

unread,
Sep 10, 2015, 12:40:47 PM9/10/15
to Serenity BDD Users Group, John Smart
Error while Integrating with Jira got resolved after downgrading the serenity and jbehave version.

--
You received this message because you are subscribed to a topic in the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/thucydides-users/FzW1kpTxaU8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to thucydides-use...@googlegroups.com.

Abhishake Golyan

unread,
Oct 18, 2016, 8:38:56 PM10/18/16
to Serenity BDD Users Group
Hi,
Can someone please share versions of all depency plugin to fetch narratives and scenario from jira.

Am able to fetch narrative but scenario are not getting pulled as .story

Am newbie to bdd

Thx,
Abhishake

Reply all
Reply to author
Forward
0 new messages