aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/pom.xml')
-rw-r--r--vid-webpack-master/pom.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/vid-webpack-master/pom.xml b/vid-webpack-master/pom.xml
index d1398cc35..09ec15e98 100644
--- a/vid-webpack-master/pom.xml
+++ b/vid-webpack-master/pom.xml
@@ -9,7 +9,7 @@
inherit from a parent maven module. -->
<groupId>org.onap.vid</groupId>
<artifactId>vid-webpack-master</artifactId>
- <version>5.0.1-SNAPSHOT</version>
+ <version>5.0.2-SNAPSHOT</version>
<packaging>war</packaging>
<name>VID UI</name>
<description>VID UI</description>
@@ -29,6 +29,7 @@
<stagingNexusPath>content/repositories/staging/</stagingNexusPath>
<snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>content/repositories/releases/</releaseNexusPath>
+ <NPM_CMD>build</NPM_CMD>
</properties>
@@ -73,7 +74,10 @@
<profile>
<id>if-not-webpack</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <property>
+ <name>skipModernUi</name>
+ <value>true</value>
+ </property>
</activation>
<build>
<plugins>
@@ -106,6 +110,13 @@
</profile>
<profile>
<id>webpack-npm</id>
+ <activation>
+ <property>
+ <name>skipModernUi</name>
+ <value>!true</value>
+ </property>
+ <activeByDefault>true</activeByDefault>
+ </activation>
<build>
<plugins>
<plugin>
@@ -161,7 +172,6 @@
<arguments>run ${NPM_CMD}</arguments>
</configuration>
</execution>
-
</executions>
</plugin>
</plugins>
@@ -245,7 +255,16 @@
<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>