Spring Cloud notes-Maven build parent-child project

Usually with this is the parent project:

The jar package can be managed in a unified manner in the parent project:

Use the dependencyManagement in-service module inheritance to provide a role.

You don't have to write groupId and version

as follows:

This is the case in the submodule:

Here you can automatically version number, if not specified directly use the parent class:

Generally, you can manually add the Spring Boot entry here:

Also add yml or properties under resources

 

 

 

Published 1336 original articles · praised 8187 · 3.16 million views

Guess you like

Origin blog.csdn.net/qq78442761/article/details/105476619