Simple Maven project with two modules.

[plantuml,"multi-module-1","svg"]
.....
component multiModule1 as "multi-module-1" {
    file parentPom as "pom.xml"{
    }
    component multiModule1 as "module-1" {
        file pom1 as "pom.xml"{
        }
    }
    component multiModule2 as "module-2" {
        file pom2 as "pom.xml"{
        }
    }
    parentPom .> multiModule1
    parentPom .> multiModule2

    multiModule1 ..> multiModule2
}
.....