summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/pom.xml
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-25 17:22:08 +0200
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>2018-01-28 13:39:19 +0000
commitb03fa6198696e16b9b82ea07472752fb1c28f94c (patch)
treee7b40577b6d4242eb9ed04605dada78c8a28955c /openecomp-ui/pom.xml
parentbddcfabbf9d2df4fd8e2d3bb147647d6580bc692 (diff)
update nod version and add yarn
Issue-ID: SDC-966 Change-Id: I4314b2c454e8cfb5639dd88d478735f21e98efa0 Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/pom.xml')
-rw-r--r--openecomp-ui/pom.xml61
1 files changed, 27 insertions, 34 deletions
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index 311403eade..282a88e55d 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -36,9 +36,9 @@
<fileset>
<directory>${basedir}/dist</directory>
</fileset>
- <!--<fileset>-->
- <!--<directory>${basedir}/node_modules</directory>-->
- <!--</fileset>-->
+ <fileset>
+ <directory>${basedir}/node_modules</directory>
+ </fileset>
<fileset>
<directory>${basedir}/coverage</directory>
</fileset>
@@ -46,10 +46,10 @@
<directory>${basedir}/../dox-sequence-diagram-ui/dist
</directory>
</fileset>
- <!--<fileset>-->
- <!--<directory>${basedir}/../dox-sequence-diagram-ui/node_modules-->
- <!--</directory>-->
- <!--</fileset>-->
+ <fileset>
+ <directory>${basedir}/../dox-sequence-diagram-ui/node_modules
+ </directory>
+ </fileset>
</filesets>
</configuration>
</execution>
@@ -62,7 +62,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
- <version>1.4</version>
+ <version>1.6</version>
<configuration>
<installDirectory>${project.parent.parent.basedir}</installDirectory>
@@ -71,30 +71,20 @@
<executions>
<execution>
- <id>install node and npm</id>
- <goals>
- <goal>install-node-and-npm</goal>
- </goals>
- <configuration>
- <nodeVersion>v6.9.5</nodeVersion>
- <npmVersion>3.10.10</npmVersion>
- </configuration>
- </execution>
-
- <execution>
- <id>npm set progress off</id>
+ <id>install node and yarn</id>
<goals>
- <goal>npm</goal>
+ <goal>install-node-and-yarn</goal>
</goals>
<configuration>
- <arguments>set progress=false</arguments>
+ <nodeVersion>v9.4.0</nodeVersion>
+ <yarnVersion>v1.3.2</yarnVersion>
</configuration>
- </execution>
+ </execution>
<execution>
- <id>npm install in dox-sequence-diagram-ui</id>
+ <id>yarn install in dox-sequence-diagram-ui</id>
<goals>
- <goal>npm</goal>
+ <goal>yarn</goal>
</goals>
<configuration>
<workingDirectory>${project.basedir}/../dox-sequence-diagram-ui
@@ -103,21 +93,22 @@
</configuration>
</execution>
<execution>
- <id>npm build in dox-sequence-diagram-ui</id>
+ <id>yarn build in dox-sequence-diagram-ui</id>
<goals>
- <goal>npm</goal>
+ <goal>yarn</goal>
</goals>
<configuration>
<workingDirectory>${project.basedir}/../dox-sequence-diagram-ui
</workingDirectory>
+ <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
- <id>npm install</id>
+ <id>yarn install</id>
<goals>
- <goal>npm</goal>
+ <goal>yarn</goal>
</goals>
<configuration>
<arguments>install</arguments>
@@ -125,20 +116,22 @@
</execution>
<execution>
- <id>npm run build</id>
+ <id>yarn run build</id>
<goals>
- <goal>npm</goal>
+ <goal>yarn</goal>
</goals>
<configuration>
- <arguments>run build -- --version=${project.version}</arguments>
+ <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
+ <arguments>run build --version=${project.version}</arguments>
</configuration>
</execution>
<execution>
<id>ui test</id>
<goals>
- <goal>npm</goal>
- </goals>
+ <goal>yarn</goal>
+ </goals>
<configuration>
+ <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven>
<arguments>run test-build</arguments>
</configuration>
<!-- for some reason does not fail on test phase -->