Let's implement Eureka Server for a service registry. It is very easy to implement by adding spring-cloud-starter-eureka-server to the dependencies. You can see the following Maven configuration required to create a Eureka server for a service registry.
Implementing Service Discovery – Eureka Server
The Maven build configuration file
Let's see the following configuration in the pom.xml file:
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.2.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <properties> <project.build...