summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>