I am using TestNg runner to run my cucumber test cases. For this I am using modular design.
Automation_Project Module 1 -> which have all the stepdefnination and feature files. Module 2 -> which have all the locators , actioncode and other utility part code.
Main pom.xml have all the configuration mentioned Module level pom and main pom packaging is 'pom' When I try to run testng through testng.xml it is not event starting test.
But if I make packaging 'jar' then I am able to run test.
For project requirement I need to keep my packaging 'pom'. Is there any way I can run my test via testng keeping packaging type pom