I am currently developing a Spring Boot multi-module project.
When you set up a Spring Boot project, in your pom.xml
you are required to have a parent reference to Spring Boot, e.g.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.10.RELEASE</version>
</parent>
What I would like to have is my project be a submodule Spring Boot project of a wider project (i.e. I would like to package them together under one project folder in a Repo).
Now, normally in order to setup multi-module project, you put the parent pom info like above into your submodule pom.xml
.
But with the requirement of having the Spring Boot parent as a requirement, it is not possible to do so.
I've seen suggestions already on the net recommending to move my submodule out and have it as a separate project independently but I think this would be my last resort right now unless that is the only way to go.
Does anyone have any ideas on how to achieve what I want or whether what I want to achieve is practically feasible or not?
Looking forward to hearing option...