Unable to run cucumber script through MAVEN (POM.XML) | Selenium Forum
M
Posted on 01/03/2016
Hi,

I am currently practicing cucumber module and I am successful till entering to the “salesforce” website. This I am doing it through the runner class, I mean executing it from the ECLIPSE and its successful.

Now, I am trying to integrate with the maven and I copied the POM.XML provided and made some minor modifications. When I hit the command “mvn integration- test”, I just get “BUILD SUCCESSFUL” message and the execution doesn’t start actually when I do it from command prompt. I am not sure what is it that I am missing from the POM.XML. Attached the project structure, POM.XML and the command prompt screenshot.

Please help me on the same.

Regards,
Arun

M
Replied on 02/03/2016

could you please upload your project.


M
Replied on 02/03/2016

Hi,

Uploaded the project for you reference.

Thanks,
Arun


M
Replied on 03/03/2016

use "mvn install"


M
Replied on 03/03/2016

Hi,

Can you please let me know how would "mvn install" solve this particular issue? I am asking this just to gather information for my knowledge purpose.

Regards,
Arun


M
Replied on 03/03/2016

take look at this q/a

http://stackoverflow.com/questions/10533828/what-does-mvn-install-in-maven-exactly-do