81,092
社区成员
发帖
与我相关
我的任务
分享
<groupId>example.com</groupId>
<artifactId>parent-pj</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<modules>
<module>../sub-pj1</module>
<module>../sub-pj2</module>
<module>../sub-pj3</module>
<module>../sub-pj4</module>
</modules>
sub-pj1/pom.xml
<groupId>example.com</groupId>
<artifactId>sub-pj1</artifactId>
<version>1.0</version>
<distributionManagement>
<repository>
<id>thirdparty</id>
<url>http://1.1.1.1/nexus/content/repositories/thirdparty</url>
</repository>
</distributionManagement>
sub-pj2/pom.xml
<groupId>example.com</groupId>
<artifactId>sub-pj2</artifactId>
<version>1.0</version>>
sub-pj3/pom.xml
<groupId>example.com</groupId>
<artifactId>sub-pj3</artifactId>
<version>1.0</version>>
sub-pj4/pom.xml
<groupId>example.com</groupId>
<artifactId>sub-pj4</artifactId>
<version>1.0</version>
<distributionManagement>
<repository>
<id>thirdparty</id>
<url>http://1.1.1.1/nexus/content/repositories/thirdparty</url>
</repository>
</distributionManagement>