[AAI-ONAP] Remove powermock javaagent fix sonar 43/5143/1
authorVenkata Harish K Kajur <vk250x@att.com>
Wed, 21 Jun 2017 04:51:11 +0000 (00:51 -0400)
committerVenkata Harish K Kajur <vk250x@att.com>
Wed, 21 Jun 2017 04:51:43 +0000 (00:51 -0400)
Change-Id: I847b4baf947db0aee7d829c40e827bd5c3cfabb0
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
aai-traversal/pom.xml

index b44425c..f2f5471 100644 (file)
                                                        <goals>
                                                                <goal>copy</goal>
                                                        </goals>
-                                                       <configuration>
-                                                               <artifactItems>
-                                                                       <artifactItem>
-                                                                               <groupId>org.powermock</groupId>
-                                                                               <artifactId>powermock-module-javaagent</artifactId>
-                                                                               <version>1.6.2</version>
-                                                                               <outputDirectory>${project.build.directory}/agents</outputDirectory>
-                                                                               <destFileName>powermock-javaagent.jar</destFileName>
-                                                                       </artifactItem>
-                                                               </artifactItems>
-                                                       </configuration>
                                                </execution>
                                                <execution>
                                                        <id>unpack-schema-dependency</id>
                                        <artifactId>maven-surefire-plugin</artifactId>
                                        <version>2.12.4</version>
                                        <configuration>
-                                               <argLine>-javaagent:${project.build.directory}/agents/powermock-javaagent.jar
-                                                       -noverify</argLine>
+                                           <argLine>-noverify ${argLine}</argLine>
                                                <systemPropertyVariables>
                                                        <AJSC_HOME>.</AJSC_HOME>
                                                        <BUNDLECONFIG_DIR>bundleconfig-local</BUNDLECONFIG_DIR>