1. I have been having this problem for a long time, but I have finally solved it today

Now it is time to package the goods-service-provider separately, but there is a packaging failure, and I have been puzzled about the reason. After searching for the reason, I found that all the pom. XML of the parent node needs MVN install, and the project of the subproject will have dependencies when packaging. MVN install is required because all dependencies in the subproject need to be retrieved from the repository. The following shows the local repository information for the project root pom.xml before MVN install:In MVN installLocal repository information after MVN install:

This problem has bothered me for a long time, but I didn’t study it well before, ah!