Usually, when developing a Microservice you want to expose its interfaces via REST to other Microservices or to the frontend. However, you might want to develop a library that uses the functionality of Spring Boot. By adding a Maven repackage goal to your pom.xml, your module will be packaged as a Java module instead of [...]