aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/pom.xml
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-02-01 10:28:19 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-01 10:28:19 +0000
commitfd2a54c8aee2bfc4ae2f62a2eac392aad66d2578 (patch)
tree9ac2e136a34e86ab0bf44a05d706ac1597a758af /vid-app-common/pom.xml
parenta89c613095622ccb529483c0ad37d7f23048989e (diff)
parentec4f95457ec430838feeae6da48d0fd011ddffa9 (diff)
Merge "Introduce JS unit tests into VID"
Diffstat (limited to 'vid-app-common/pom.xml')
-rwxr-xr-xvid-app-common/pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml
index 7cd30a21f..1ea069137 100755
--- a/vid-app-common/pom.xml
+++ b/vid-app-common/pom.xml
@@ -37,6 +37,9 @@
<kotlin.version>1.3.11</kotlin.version>
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
+ <eirslett.version>1.6</eirslett.version>
+ <node.version>v6.16.0</node.version>
+
</properties>
@@ -158,6 +161,34 @@
</plugin>
<plugin>
+ <groupId>com.github.eirslett</groupId>
+ <artifactId>frontend-maven-plugin</artifactId>
+ <version>${eirslett.version}</version>
+ <executions>
+ <execution>
+ <id>install node and npm</id>
+ <goals>
+ <goal>install-node-and-npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <nodeVersion>${node.version}</nodeVersion>
+ </configuration>
+ </execution>
+ <execution>
+ <id>npm run-script build</id>
+ <configuration>
+ <arguments>run-script build</arguments>
+ </configuration>
+ <goals>
+ <goal>npm</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>