Create New Maven Project in Eclipse Ide

Creation of a Maven Project on Eclipse:

Creation of Maven Project using Eclipse manage dependencies more easily and to resolve transitive dependencies automatically. Maven projects have a consistent structure for each project created, and it is possible to create this structure automatically within Eclipse.

Step by step Description of Creation of Maven Project using Eclipse

  1. In the Eclipse IDE, navigate to File > New > Other… in order to bring up the project creation wizard.

1

2.  Scroll to the Maven folder, open it, and choose Maven Project. Then choose Next.

2

3. You may choose to Create a simple project or forgo this option. For the purposes of this tutorial, we will choose the simple project. This will create a basic, Maven-enabled Java project. If you require a more advanced setup, leave this setting unchecked, and you will be able to use more advanced Maven project setup features. Leave other options as is, and click Next.

3

4. Now, you will need to enter information regarding the Maven Project you are creating.In general, the Group Id should correspond to your organization name, and the Artifact Id should correspond to the project’s name. The version is up to your discretion as is the packing and other fields. If this is a stand-alone project that does not have parent dependencies, you may leave the Parent Project section as is.

Eclipse Maven Project Creation 4 - Automation laboratories

5. You will now notice that your project has been created. You will place your Java code in /src/main/java, resources in /src/main/resources, and your testing code and resources in /src/test/java and /src/test/resources respectively.Fill out the appropriate information, and click Finish.

5

6. Open the pom.xml file to view the structure Maven has set up. In this file, you can see the information entered in Step 4. You may also use the tabs at the bottom of the window to change to view Dependencies, the Dependency Hierarchy, the Effective POM, and the raw xml code for the pom file in the pom.xml tab.

Eclipse Maven Project Creation 6 - Automation laboratories

For YouTube Video Please find Link Below:

[youtube https://www.youtube.com/watch?v=RFRC8BmOlls&w=560&h=315]




Abhishek

10+ years of Diversified experience in Information and communications technology (ICT), specializing in Solution Architect, Software Quality Assurance with proficiency in deployment and development, testing on Client/Server and Web-based applications.

  • Working knowledge in Java8, AWS, GCP, Junit, Mockito, Cobertura, Findbugs, Sonarqube, PMD.
  • Experience in CI/CD using Azure DevOps, Jenkins Pipeline, Github, Nexus, Docker, Kubernetes.
  • Experience in fixing security vulnerability issues using Checkmarx code scanner.
  • Proficient in writing the automation scripts using TestNG, Cucumber, Silk4j
  • Conduct performance test using Silk Performer, Jmeter and SoapUI
  • Experience in finding and fixing JVM memory leak issue using Jmeter, VisualVm.
  • Very good team player with the ability to work in a fast-paced agile development environment as well as an individual contributor.

Leave a Reply

Your email address will not be published. Required fields are marked *