Spring boot with maven multi module project
I have a maven multi module project designed like the first answer in following SO post: Multi-module maven with Spring Boot Now I want a common maven module that can contain some models to be used by multiple microservices. If I make this common project as a child of the first level parent pom (so that all dependencies injected by boot like jpa, jackson etc are available to common), then STS/Spring is detecting it as a boot application and complains about no Main class on maven build. Can someone suggest how I can achieve this? Current Code: parent pom.xml: (Only relevant parts included)