<?xml version="1.0" encoding="ISO-8859-1"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>my.org</groupId>
        <artifactId>parent-two</artifactId>
        <version>13.7.8</version>
        <relativePath>../parent-2/pom.xml</relativePath>
    </parent>

    <artifactId>parent-one</artifactId>
    <version>3.11.0</version>
    <packaging>pom</packaging>

    <properties>
        <!-- maven resolves project.parent.version from the _child_ project root context -->
        <commons.lang3.version>3.1${project.parent.version}.0</commons.lang3.version>
        <commons.collections4.version>4.3</commons.collections4.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>${commons.lang3.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-text</artifactId>
            <version>${commons.text.version}</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
            <version>${commons.collections4.version}</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${commons.junit.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>
