You need to distinguish between the releases and snapshots repository. <distributionManagement> only allows one <repository> and one <snapshotRepository> child.
http://maven.apache.org/pom.html#Distribution_Management
You need to distinguish between the releases and snapshots repository. <distributionManagement> only allows one <repository> and one <snapshotRepository> child.
http://maven.apache.org/pom.html#Distribution_Management