serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

Dependencies are missing in the pom file #97

Closed rakeshnambiar closed 6 years ago

rakeshnambiar commented 6 years ago

I am getting the error while imports the maven project and run the smoke tests. Pls check the pom file contains all the required dependency.

C:\GITHUB\serenity-cucumber\src\main\java\net\serenitybdd\cucumber\actors\StageDirector.java Error:(4, 41) java: package net.serenitybdd.screenplay.actors does not exist Error:(9, 9) java: cannot find symbol symbol: variable OnStage location: class net.serenitybdd.cucumber.actors.StageDirector C:\GITHUB\serenity-cucumber\src\main\java\cucumber\runtime\SerenityObjectFactory.java Error:(3, 25) java: cannot find symbol symbol: class ObjectFactory location: package cucumber.api.java Error:(4, 28) java: package net.serenitybdd.core does not exist Error:(17, 47) java: cannot find symbol symbol: class ObjectFactory Error:(28, 9) java: cannot find symbol symbol: variable Serenity location: class cucumber.runtime.SerenityObjectFactory Error:(32, 5) java: method does not override or implement a method from a supertype Error:(68, 9) java: cannot find symbol symbol: variable Serenity location: class cucumber.runtime.SerenityObjectFactory Error:(81, 13) java: cannot find symbol symbol: variable Serenity location: class cucumber.runtime.SerenityObjectFactory

wakaleo commented 6 years ago

Which maven project are you referring to? This project is built using Gradle.

rakeshnambiar commented 6 years ago

Hi @wakaleo .. I am migrating to the latest release and tried with Serenity-cucumber sample project from https://github.com/serenity-bdd/serenity-cucumber.git

wakaleo commented 6 years ago

Which sample project are you referring to? https://github.com/serenity-bdd/serenity-cucumber.git is the main Serenity Cucumber module, and is built using Gradle, not Maven.

rakeshnambiar commented 6 years ago

Could you pls tell me the latest project repository for the maven project? Does it inside the screen-play repo?

wakaleo commented 6 years ago

Sorry, which maven project are you referring to?

rakeshnambiar commented 6 years ago

@wakaleo .. sorry for the confusion. I am looking for the Cucumber-serenity skeleton with all the maven dependency for the latest release.

rakeshnambiar commented 6 years ago

I am currently using pretty older version - 1.5.0-rc.1 and pom file is messy

wakaleo commented 6 years ago

I think you mean https://github.com/serenity-bdd/serenity-cucumber-starter

rakeshnambiar commented 6 years ago

yes... the same. Thanks @wakaleo