summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/pom.xml
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-03-25 13:03:27 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-03-25 13:03:33 +0530
commit4f320965bfe37c93b70feed6e12704dc809e72d5 (patch)
treee1c4406b5f0223254798b02505358b6d4c07a5fa /ecomp-sdk/epsdk-app-os/pom.xml
parentbd71f49adb681c96fd2517662a08ebd41c7e6e3f (diff)
change in pom.xml
Modifcation in pm.xml for displaying sonar coverage Issue-ID: PORTAL-834 Change-Id: Idccde3555aa75c3667829cfe49260dd40edae1c4 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/pom.xml')
-rw-r--r--ecomp-sdk/epsdk-app-os/pom.xml20
1 files changed, 17 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-app-os/pom.xml b/ecomp-sdk/epsdk-app-os/pom.xml
index add3c1a0..26c85cd8 100644
--- a/ecomp-sdk/epsdk-app-os/pom.xml
+++ b/ecomp-sdk/epsdk-app-os/pom.xml
@@ -29,7 +29,7 @@
<jacoco.version>0.7.9</jacoco.version>
<!-- Version number gets stored only here -->
<tomcat.download.path>http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.37/bin</tomcat.download.path>
- <tomcat.download.name>apache-tomcat-8.0.37</tomcat.download.name>
+ <tomcat.download.name>apache-tomcat-8.0.37</tomcat.download.name>
<sonar.typescript.lcov.reportPaths>ngapp/coverage/lcov.info</sonar.typescript.lcov.reportPaths>
<sonar.sources>ngapp/src</sonar.sources>
@@ -38,8 +38,9 @@
<sonar.exclusions>**/node_modules/**,**/*.spec.ts</sonar.exclusions>
<sonar.test.inclusions>**/*.spec.ts</sonar.test.inclusions>
<sonar.tests>ngapp/src</sonar.tests>
+ <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled>
<sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
-
+ <sonar.nodejs.executable>node</sonar.nodejs.executable>
</properties>
<!-- repositories are inherited from parent -->
@@ -152,6 +153,7 @@
<configuration>
<nodeVersion>v10.13.0</nodeVersion>
<workingDirectory>${basedir}/ngapp</workingDirectory>
+ <installDirectory>${basedir}/ngapp</installDirectory>
</configuration>
<executions>
@@ -170,6 +172,18 @@
<goal>npm</goal>
</goals>
</execution>
+ <execution>
+ <id>npm run test</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+
+ <phase>compile</phase>
+
+ <configuration>
+ <arguments>run-script test</arguments>
+ </configuration>
+ </execution>
<execution>
@@ -576,4 +590,4 @@
</dependency>
</dependencies>
-</project>
+</project> \ No newline at end of file