aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/pom.xml')
-rw-r--r--catalog-ui/pom.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/catalog-ui/pom.xml b/catalog-ui/pom.xml
index f08fb64276..f8d4e3f70c 100644
--- a/catalog-ui/pom.xml
+++ b/catalog-ui/pom.xml
@@ -13,6 +13,11 @@
<version>1.7.0-SNAPSHOT</version>
</parent>
+ <properties>
+ <sonar.nodejs.executable>${project.basedir}/node/node</sonar.nodejs.executable>
+ <sonar.sources>src/app/ng2</sonar.sources>
+ </properties>
+
<build>
<plugins>
<plugin>
@@ -26,7 +31,6 @@
<goal>clean</goal>
</goals>
<configuration>
-
<filesets>
<fileset>
<directory>${project.parent.basedir}/catalog-fe/src/main/webapp</directory>
@@ -72,7 +76,7 @@
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
- <installDirectory>${project.parent.basedir}</installDirectory>
+ <installDirectory>${project.basedir}</installDirectory>
</configuration>
<executions>
@@ -118,6 +122,18 @@
<arguments>run build:prod</arguments>
</configuration>
</execution>
+
+ <execution>
+ <id>npm_test</id>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+ <phase>test</phase>
+ <configuration>
+ <arguments>test</arguments>
+ <skip>${skipTests}</skip>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>