summaryrefslogtreecommitdiffstats
path: root/client/client-full
diff options
context:
space:
mode:
authorwaynedunican <wayne.dunican@est.tech>2020-08-31 13:17:03 +0100
committerwaynedunican <wayne.dunican@est.tech>2020-09-01 15:00:49 +0100
commit2365471ec9b74779caad1edb5a6397305426abc7 (patch)
treebf995cc80d84975cf6f6c0206ba68eded0108d78 /client/client-full
parent5b30eb5dadbf401a2ea50fb7afba1dc7fd4ec42d (diff)
JavaScript Sonar Coverage setup
Sonar properties added to apex-pdp in order to pick up JavaScript coverage in SonarCloud Issue-ID: POLICY-2611 Change-Id: Ia9c5837bc18a34722437b2b299e85c6a8a67088d Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'client/client-full')
-rw-r--r--client/client-full/pom.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/client-full/pom.xml b/client/client-full/pom.xml
index 2bd8e1476..57ab77889 100644
--- a/client/client-full/pom.xml
+++ b/client/client-full/pom.xml
@@ -32,6 +32,13 @@
<name>${project.artifactId}</name>
<description>Web clients for managing Apex engines</description>
+ <properties>
+ <webapp.dir>src/main/resources/webapp</webapp.dir>
+ <sonar.nodejs.executable>${project.basedir}/src/main/resources/webapp/node/node</sonar.nodejs.executable>
+ <sonar.sources>${project.basedir}/src/main,${project.basedir}/src/main/resources/webapp/js</sonar.sources>
+ <sonar.exclusions>src/main/resources/webapp/js/__test__/**,src/main/resources/webapp/js/jquery</sonar.exclusions>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.onap.policy.apex-pdp.client</groupId>