summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/client-deployment/pom.xml7
-rw-r--r--client/client-full/pom.xml7
-rw-r--r--client/client-monitoring/pom.xml7
3 files changed, 21 insertions, 0 deletions
diff --git a/client/client-deployment/pom.xml b/client/client-deployment/pom.xml
index ab7d22fcf..0818b30d6 100644
--- a/client/client-deployment/pom.xml
+++ b/client/client-deployment/pom.xml
@@ -32,6 +32,13 @@
<name>${project.artifactId}</name>
<description>Web client for deploying models in Apex engine</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__/**</sonar.exclusions>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.onap.policy.common</groupId>
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>
diff --git a/client/client-monitoring/pom.xml b/client/client-monitoring/pom.xml
index 91c136310..c4938109a 100644
--- a/client/client-monitoring/pom.xml
+++ b/client/client-monitoring/pom.xml
@@ -32,6 +32,13 @@
<name>${project.artifactId}</name>
<description>Web client for monitoring 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/avsc,src/main/resources/webapp/js/d3</sonar.exclusions>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.onap.policy.common</groupId>