I solved this problem for me by adding **"pluginManagement"** tag after "build" tag in **both pom**.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
* --- your code or other configurations --- *
</plugin>
</plugins>
</pluginManagement>
</build>
I solved this problem for me by adding **"pluginManagement"** tag after "build" tag in **both pom**.
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
* --- your code or other configurations --- *
</plugin>
</plugins>
</pluginManagement>
</build>