How to create a Cucumber project template using Maven in Eclipse?

We can create a Cucumber project template using Maven. This can be done by following the below steps −

Step1− Click on the File menu in Eclipse. Then select the option New. Next click on Other.

Step2− Click on Maven Project from the Maven folder. Then click on Next.

Step3− Proceed with the further steps.

Step4− Select maven-archetype-quickstart template. Then click on Next.

Step5− Add GroupId as Automation, Artifact Id as Cucumber, and proceed.

Step6− A project should get created with a Cucumber-type project structure. The Cucumber-related scripts should be written within the src/test/java folder.