Springboot imports the parent pom file

https://blog.csdn.net/forezp/.

the third part of this tutorial builds a service consumer
creates a new spring-boot project named service-ribbon;
inherits the parent pom file in its pom.xml and introduces the following dependencies:

<parent>
        <groupId>com.forezp</groupId>
        <artifactId>sc-f-chapter2</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </parent>
    

where did this come from? I succeeded according to the previous tutorial. I don"t know what to fill in here


create a new spring-boot project, sc-f-chapter2 and create a module named: service-ribbon; inherits the parent pom file in its pom.xml and introduces the following dependency

should be expressed in this way, I am a beginner, easy to misunderstand.

look at the code directory on git and you can see


here is the information about your parent project, and sometimes there is a relativePath pom.xml file that specifies the parent project.
for example, I created a project cloud-demo whose pom.xml is configured as follows:

<project>
...
    <artifactId>server-module</artifactId>
    <version>1.0-SNAPSHOT</version>
...
    <parent>
        <groupId>com.example</groupId>
        <artifactId>cloud-demo</artifactId>
        <version>1.0-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>
...
</project>
Menu