source: http://www.vineetmanohar.com/2010/06/getting-started-with-nexus-maven-repo-manager/
<!-- Nexus Repository Manager -->
<server>
<id>NexusRepoManager</id>
<username>deployment</username>
<password>admin</password>
</server>
<distributionManagement>
<!-- Publish the versioned releases here -->
<repository>
<id>NexusRepoManager</id>
<name>Continuous Delivery Blog Nexus Releases</name>
<url>https://localhost:8081/nexus/content/repositories/releases</url>
</repository>
<!-- Publish the versioned snapshots here -->
<snapshotRepository>
<id>NexusRepoManager</id>
<name>Continuous Delivery Blog Nexus Snapshots</name>
<url>http://localhost:8081/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>NexusRepoManager</id>
<name>Continuous Delivery Blog Nexus</name>
<url>http://localhost:8081/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>