DEV Community

Suresh Ayyanna
Suresh Ayyanna

Posted on

1 1 1 1 1

How to create a Maven project in Eclipse

This is one of the methods to create a Maven project. But in this rather than creating a project outside Eclipse and then importing it to Eclipse, we will directly create a maven project into Eclipse.

Step 1: Open your Eclipse and Go to File > New > Others.

Image description

Step 2: Select Maven Project and click on Next.

Image description

Step 3: Un-check the 'Use default Workspace location' and with the help of the Browse button choose your workspace where you would like to set up your Maven project.

Image description

Step 4: Select the archetype, for now just select the 'maven-aechetype-quickstart' and click on Next.

Image description

Step 5: Enter the Group Id & Artifact Id and click on Finish button.
Image description

Step 6: Go to the project location to see the newly created maven project. Now open the pom.xml file, which resides in the project folder. By default the POM is generated as below screenshot:

Image description

Step 7: Look at the default folder structure of the Maven project.

Image description

Step 8: Modify POM.xml with the latest Junit and other required dependencies and save the POM.xml

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more