Please help me understand accessing steps available in other cucumber projects in current cucumber project. i have tried glue option as well and i also have added other cucumber project jar file in maven dependencies but could not make it work.
Below is the feature file of project1:
Feature: To test cucumber test is running I want to run a sample feature file.
Scenario: cucumber setup
Given sample feature file is ready1
When I run the feature file1
Then run should be successful1
Scenario: cucumber setup for cucmbertestautomation2
Given sample feature file is ready2
When I run the feature file2
Then run should be successful2
"Given sample feature file is ready2" step is available in project2.
and project1 (cucumbertestautomation1) POM have project2(cucumbertestautomation2) as dependency, like shown below.
<dependency>
<groupId>com.celcom</groupId>
<artifactId>cucumbertestautomation2</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
Still the step "Given sample feature file is ready2" is not recognized.