Father:
<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>
<groupId>parentgroupid</groupId>
<artifactId>parentartiid</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>
</project>
Child
<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>
<groupid>groupid</groupid>
<artifactId> Aritfactid</artifactid>
<version>0.0.1</version>
<name>firstmavenproject</ Name>
<parent>
<groupid>parentgroupid</groupid>
<artifactid>parentartiid </artifactid>
<version>0.0.1</version>
</parent>
< Distributionmanagement>
<repository>
<id>nexus-releases</id>
<name> Releases</name>
<url>http://127.0.0.1:8081/nexus/content/repositories/releases/</url>
</repository>
</distributionmanagement>
</project>