Let app1 be a child of pom1 which is a child of parent