Fixing Merge Build issue and Sonar issues.

fixing build issue and Sonar issues.

Change-Id: I4209b79ab2a3646839df50be4b58f8f230b6d710
Issue-ID: SDC-1189
Signed-off-by: GAUTAMS <gautams@amdocs.com>
diff --git a/common/pom.xml b/common/pom.xml
index 2ca3525..a1c4fc1 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -184,7 +184,6 @@
                     <execution>
                         <goals>
                             <goal>init-artifact-helper</goal>
-                            <goal>copy-helper</goal>
                             <goal>calibrate-artifact-helper</goal>
                         </goals>
                     </execution>
@@ -193,56 +192,19 @@
                     <groupId>org.openecomp.sdc</groupId>
                     <artifactId>build-data-installer</artifactId>
                     <version>${project.version}</version>
-                    <targetLocation>build-data-helper</targetLocation>
-                    <name>build-data-helper-${project.version}.jar</name>
                     <artifactHelper>
                         <project>${project}</project>
+                        <session>${session}</session>
+                        <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot>
                     </artifactHelper>
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>${maven.dependency.version}</version>
-                <executions>
-                    <execution>
-                        <id>id1</id>
-                        <goals>
-                            <goal>get</goal>
-                        </goals>
-                        <phase>pre-clean</phase>
-                        <configuration>
-                            <artifactId>build-data-helper</artifactId>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>id2</id>
-                        <goals>
-                            <goal>get</goal>
-                        </goals>
-                        <phase>pre-clean</phase>
-                        <configuration>
-                            <artifactId>build-data-installer</artifactId>
-                        </configuration>
-                    </execution>
-                </executions>
-                <configuration>
-                    <groupId>org.openecomp.sdc</groupId>
-                    <version>${project.version}</version>
-                    <skip>${skipGet}</skip>
-                </configuration>
-            </plugin>
-            <plugin>
                 <groupId>org.openecomp.sdc.onboarding</groupId>
                 <artifactId>compile-helper-plugin</artifactId>
                 <version>${project.version}</version>
                 <dependencies>
                     <dependency>
-                        <groupId>org.openecomp.sdc</groupId>
-                        <artifactId>build-data-helper</artifactId>
-                        <version>${project.version}</version>
-                    </dependency>
-                    <dependency>
                         <groupId>org.openecomp.sdc.onboarding</groupId>
                         <artifactId>pmd-helper-plugin</artifactId>
                         <version>${project.version}</version>
@@ -325,13 +287,6 @@
                 <groupId>org.openecomp.sdc.onboarding</groupId>
                 <artifactId>pmd-helper-plugin</artifactId>
                 <version>${project.version}</version>
-                <dependencies>
-                    <dependency>
-                    <groupId>org.openecomp.sdc</groupId>
-                    <artifactId>build-data-helper</artifactId>
-                    <version>${project.version}</version>
-                </dependency>
-                </dependencies>
                 <executions>
                     <execution>
                         <goals>