Multi-project construction of meven

The sub-project is associated with the parent project and needs to be introduced into the sub-project
<dependency>
<groupId>guangzi</groupId>
<artifactId>uilt</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>



top-level The pom does not need to define a jar package, otherwise no sub-project will import the redundant jar package. The
top  -level pom only needs to define the public jar, and the version number of the sub-project package
uses the
dependencyManagement
reference material
http://blog.csdn.net/liutengteng130/ article/category/2746857

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326492909&siteId=291194637