root/child-c/child-c-1/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.example</groupId>
<artifactId>child-c</artifactId>
</parent>
<artifactId>child-c-1</artifactId>
<version>1.3.1</version>
<packaging>jar</packaging>
<name>ChildC1</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>child-b-1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>child-1-1</artifactId>
<!-- explicitly use an older version of child-1-1 -->
<version>1.0.0</version>
</dependency>
</dependencies>
</project>
|
root/child-c/child-c-1/target/pom-transformed.xml
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.example</groupId>
<artifactId>child-c</artifactId>
<version>1.3.0</version>
</parent>
<artifactId>child-c-1</artifactId>
<version>1.3.1</version>
<packaging>jar</packaging>
<name>ChildC1</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>child-b-1</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>child-1-1</artifactId>
<!-- explicitly use an older version of child-1-1 -->
<version>1.0.0</version>
</dependency>
</dependencies>
</project>
|