Copy workflow designer UI to tomcat
Issue-Id: SDC-452
Change-Id: Id03e447849d1f1fb4239405865aa669f96a7822d
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 48755ed..f63f58c 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -85,6 +85,7 @@
<overwrite>true</overwrite>
</configuration>
</execution>
+
<execution>
<id>copy-tomcat-resources-${linux64id}</id>
<phase>process-resources</phase>
@@ -106,6 +107,26 @@
</resources>
</configuration>
</execution>
+
+ <execution>
+ <id>copy-workflow-designer-resources-${linux64id}</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${linux64outputdir}/tomcat/webapps/ROOT</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/../sdc-workflow-designer-ui/dist</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
<execution>
<id>copy-resources-${win64id}</id>
<phase>process-resources</phase>
@@ -129,6 +150,7 @@
<overwrite>true</overwrite>
</configuration>
</execution>
+
<execution>
<id>copy-tomcat-resources-${win64id}</id>
<phase>process-resources</phase>
@@ -150,6 +172,26 @@
</resources>
</configuration>
</execution>
+
+ <execution>
+ <id>copy-workflow-designer-resources-${win64id}</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${win64outputdir}/tomcat/webapps/ROOT</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/../sdc-workflow-designer-ui/dist</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+
<execution>
<id>copy-dockerfile</id>
<phase>process-resources</phase>