Member-only story

How to create a Helidon Microservices application (MicroProfile) with Maven and Eclipse

Juarez Junior
3 min readAug 15, 2022

--

Helidon.io

by Juarez Junior

Introduction

This blog post shows how to create a simple Helidon Microservices app with Maven, then import it into Eclipse.

So without further ado, let’s get started!

Prerequisites

We assume you already have Eclipse and Maven installed, otherwise, please download and install them. Configure Maven’s home directory as an environment variable for your convenience.

Create the project with Maven

Move to your Eclipse workspace where your Java projects reside. An example is below:

cd C:\java-projects

Run the following Maven command to create the Helidon project per the specified archetype:

mvn archetype:generate -DinteractiveMode=false -DarchetypeGroupId=io.helidon.archetypes -DarchetypeArtifactId=helidon-quickstart-mp -DarchetypeVersion=2.5.0 -DgroupId=io.helidon.examples -DartifactId=helidon-quickstart-mp -Dpackage=io.helidon.examples.quickstart.mp

If everything goes well, you will see a screen similar to the one below:

Helidon project

Change to its home directory:

cd helidon-quickstart-mp

Create the files for your Eclipse-based project:

mvn eclipse:eclipse

Provided that everything completes successfully, you will see a screen like the one below:

Eclipse project files — created

Now you can run an mvn package command to make sure it is running properly as expected:

mvn package

--

--

Responses (1)

Write a response