parent工程
重要配置:
<!-- 父工程 --><packaging>pom</packaging><!-- 聚合 --><modules><module>../base</module><module>../gateway</module><module>../user-service</module><module>../video-service</module></modules>
子工程
<parent><groupId>com.clearcloud</groupId><artifactId>parent</artifactId><version>0.0.1-SNAPSHOT</version><!-- 必须要添加,不然maven插件运行会报错! --><relativePath>../parent</relativePath> <!-- lookup parent from repository -->
</parent>