Back to Course
TestNG & Maven

Creating A Maven Project

Steps in Eclipse

  • Go to File > New > Maven Project.
  • Choose a simple project (skip archetype selection) for a quick start.
  • Fill in the Group Id (organization) and Artifact Id (project name).
  • Eclipse generates the standard folder structure, including src/main/java, src/test/java, and pom.xml.

The Standard Folder Structure

Maven expects source code in src/main/java and test code in src/test/java, a convention that keeps projects consistent and easy for any Maven-aware tool to understand.

Ready to master real-world software testing?

Learn manual and automation testing hands-on with mentor-led sessions.

Explore Course