I have a multi-module Maven project which has a reactor project with an array of pre-configured plugins and dependencies. Now I want to add an other module to the reactor which uses Spring Boot and now I am facing a problem which I don't know the solution for yet:
Spring Boot requires me to use its own parent:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.4.0.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
but I want to use the configuration supplied by my reactor. How can I work around this?
Making my reactor have the spring-boot-starter-parent
as parent is not an option because I'm working on a library and it is not depending on Spring Boot (only this module which implements REST functionality).
Currently my module has spring-boot-starter-parent
as its parent and it is included in the reactor so it builds but I lose all my configured code-quality checks for example.