summaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gui-pdp-monitoring/pom.xml')
-rw-r--r--gui-pdp-monitoring/pom.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/gui-pdp-monitoring/pom.xml b/gui-pdp-monitoring/pom.xml
index 0f8743c..17b008f 100644
--- a/gui-pdp-monitoring/pom.xml
+++ b/gui-pdp-monitoring/pom.xml
@@ -32,7 +32,9 @@
<properties>
<webapp.dir>src/webapp</webapp.dir>
- <sonar.javascript.lcov.reportPaths>src/webapp/coverage/lcov.info</sonar.javascript.lcov.reportPaths>
+ <sonar.nodejs.executable>${project.basedir}/src/webapp/node/node</sonar.nodejs.executable>
+ <sonar.sources>${project.basedir}/src/main,${project.basedir}/src/webapp/js</sonar.sources>
+ <sonar.exclusions>src/webapp/js/__test__/**</sonar.exclusions>
</properties>
<dependencies>
@@ -104,12 +106,16 @@
<goals>
<goal>npm</goal>
</goals>
+ <configuration>
+ <arguments>install</arguments>
+ </configuration>
</execution>
<execution>
<id>npm test</id>
<goals>
<goal>npm</goal>
</goals>
+ <phase>test</phase>
<configuration>
<arguments>test</arguments>
</configuration>