| <project> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>child</artifactId> |
| <packaging>pom</packaging> |
| <name>child</name> |
| <parent> |
| <groupId>org.apache.maven.its.mng624.depmgmt</groupId> |
| <artifactId>parent</artifactId> |
| </parent> |
| <modules> |
| <module>grandchild1</module> |
| <module>grandchild2</module> |
| </modules> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.its.mng624.depmgmt</groupId> |
| <artifactId>grandchild2</artifactId> |
| <version>${ver}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </project> |