inherit from a parent maven module. -->
<groupId>org.onap.vid</groupId>
<artifactId>vid-webpack-master</artifactId>
- <version>5.0.0-SNAPSHOT</version>
+ <version>6.0.5-SNAPSHOT</version>
<packaging>war</packaging>
<name>VID UI</name>
<description>VID UI</description>
<properties>
<encoding>UTF-8</encoding>
- <!--<springframework.version>4.2.0.RELEASE</springframework.version>-->
+ <!--<springframework.version>5.1.6.RELEASE</springframework.version>-->
<!--<hibernate.version>4.3.11.Final</hibernate.version>-->
- <!--<jackson.version>2.6.3</jackson.version>-->
<!-- Skip assembling the zip by default -->
<skipassembly>true</skipassembly>
<!-- Tests usually require some setup that maven cannot do, so skip. -->
<stagingNexusPath>content/repositories/staging/</stagingNexusPath>
<snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>content/repositories/releases/</releaseNexusPath>
+ <NPM_CMD>ci</NPM_CMD>
</properties>
</distributionManagement>
<profiles>
+
<profile>
<id>if-not-webpack</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <property>
+ <name>skipModernUi</name>
+ <value>true</value>
+ </property>
</activation>
<build>
<plugins>
</plugins>
</build>
</profile>
+
<profile>
<id>webpack-npm</id>
+ <activation>
+ <property>
+ <name>skipModernUi</name>
+ <value>!true</value>
+ </property>
+ <activeByDefault>true</activeByDefault>
+ </activation>
<build>
<plugins>
<plugin>
</goals>
<configuration>
<!-- See https://nodejs.org/en/download/ for latest node and npm (lts) versions -->
- <nodeVersion>v8.9.4</nodeVersion>
- <npmVersion>5.6.0</npmVersion>
- </configuration>
- </execution>
-
- <execution>
- <id>npm set no-progress</id>
- <goals>
- <goal>npm</goal>
- </goals>
- <configuration>
- <arguments>set progress=false</arguments>
+ <nodeVersion>v10.15.3</nodeVersion>
+ <npmVersion>6.9.0</npmVersion>
</configuration>
</execution>
<arguments>run ${NPM_CMD}</arguments>
</configuration>
</execution>
-
</executions>
</plugin>
</plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
- <version>3.2.0</version>
+ <version>3.2.3</version>
<configuration>
<webResources>
<resource>
<webXml>src/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
-
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>dist</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencies>