Check out the full series of Questions Management tutorial here.
Questions Management is deployed under the Microservices model, each service is a project, so managing these projects effectively is essential. I have shown you how to manage multiple projects with Apache Maven in the previous tutorial and this is an effective way to apply to the development of the Questions Management application. In the first article on this Questions Management application, we will create questions-management parent project using Spring Tool Suite, a Maven project to manage all of the corresponding projects for each of the services in this application.
First, in the Spring Tool Suite IDE, go to File, select New and select Maven Project:
We will not use Maven Archetype, so you just click on Create a simple project (skip archetype selection) to skip this selection and click Next.
In the New Maven Project window, fill in Group Id, Artifact Id, Version, and select Packaging as pom! I will also add information about Name as follows:
Click the Finish button to finish creating the new Maven parent project for our Questions Management application.
The contents of the Maven pom.xml file are as follows:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<name>Questions Management System</name>
Install this parent project into Maven Local Repository by running the “mvn clean install” command: