summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-10-29 06:00:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-29 06:00:34 +0000
commitf0b7ff133383894a8abacced9061f2b72ddfeb13 (patch)
tree198a08be3159c5f851e30ef583d78a015f89d380
parentd69bb7703fa793bf397e00ccb81f90ab62bb84cc (diff)
parentec200fd6c7e47b5412350d7224c5b94477bdcdd5 (diff)
Merge "Fix oom health check error"
-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>