summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-10-28 21:50:05 -0400
committerzhangab <zhanganbing@chinamobile.com>2018-10-28 21:50:07 -0400
commitec200fd6c7e47b5412350d7224c5b94477bdcdd5 (patch)
tree91944cdaa8f05cd47b9ba5237459bb3e9ad5f177
parent8edce5b354b9437ea7dcbf48c19d9316db3ada54 (diff)
Fix oom health check error
Change-Id: I758c833632fd7cd702ffe785da402e01bfd5281a Issue-ID: USECASEUI-174 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rw-r--r--distribution/pom.xml4
-rw-r--r--usecaseui-portal/pom.xml21
2 files changed, 23 insertions, 2 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 8aaaa306..abb0e7ed 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -81,7 +81,7 @@
<directory>../usecaseui-portal/</directory>
<filtering>false</filtering>
<includes>
- <include>usecase-ui</include>
+ <include>usecase-ui.war</include>
</includes>
</resource>
</resources>
@@ -145,7 +145,7 @@
<directory>../usecaseui-portal/</directory>
<filtering>false</filtering>
<includes>
- <include>usecase-ui</include>
+ <include>usecase-ui.war</include>
</includes>
</resource>
</resources>
diff --git a/usecaseui-portal/pom.xml b/usecaseui-portal/pom.xml
index 71a4d24e..fb08e7c0 100644
--- a/usecaseui-portal/pom.xml
+++ b/usecaseui-portal/pom.xml
@@ -100,6 +100,27 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>distribution</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target name="distribution">
+ <zip destfile="./usecase-ui.war" update="true">
+ <zipfileset dir="./usecase-ui" includes="**"/>
+ </zip>
+ <attachartifact file="./usecase-ui.war" classifier="win64" type="zip"/>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>