sonar scan pom updates

Change-Id: I9020d59dc0ac48e6835ced166079625127136eb8
Signed-off-by: talasila <talasila@research.att.com>
diff --git a/pom.xml b/pom.xml
index ed552cc..59d2dd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,5 +17,35 @@
 		<module>ecomp-portal-FE</module>
 		<module>ecomp-portal-BE</module>
 	</modules>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.sonatype.plugins</groupId>
+				<artifactId>nexus-staging-maven-plugin</artifactId>
+				<version>1.6.7</version>
+				<extensions>true</extensions>
+				<configuration>
+					<nexusUrl>https://nexus.openecomp.org/</nexusUrl>
+					<stagingProfileId>176c31dfe190a</stagingProfileId>
+					<serverId>ecomp-staging</serverId>
+				</configuration>
+			</plugin>
+		</plugins>
 
+	</build>
+
+	<distributionManagement>
+		<!-- Publish jars to the Nexus Repository - public group -->
+		<!-- The id below must match your .m2/settings.xml/servers/server/id -->
+		<repository>
+			<id>ecomp-releases</id>
+			<name>OpenECOMP - Release Repository</name>
+			<url>https://nexus.openecomp.org/content/repositories/releases/</url>
+		</repository>
+		<snapshotRepository>
+			<id>ecomp-snapshots</id>
+			<name>OpenECOMP - Snapshot Repository</name>
+			<url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+		</snapshotRepository>
+	</distributionManagement>
 </project>