aboutsummaryrefslogtreecommitdiffstats
path: root/admportal
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-04-07 12:26:14 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-04-07 12:53:24 -0700
commitac889177cc3086d57545abcfcd01986340db424e (patch)
tree4aa9bbbadd11a5d3647d491f9c41a634b0a5de59 /admportal
parent4cc1e4b946aedcf6c34550d1903e9bd13e6e160b (diff)
Fix assembly xmls for maven-assembly-plugin v2.2+
Starting in version 2.2, maven-assembly-plugin requires an id tag in the assembly descriptor xmls. This patch allows the project to be built in environments that use newer versions of maven-assembly-plugin. For details, see: https://issues.apache.org/jira/browse/MASSEMBLY-517 Change-Id: I95df31b2eb880eb6d2a466eafcc57206f9d3d516 Signed-off-by: Gary Wu <gary.i.wu@huawei.com> Former-commit-id: 59263d726d0c6811c7608a0cbbbff18f74aa8c22
Diffstat (limited to 'admportal')
-rw-r--r--admportal/pom.xml1
-rw-r--r--admportal/src/assembly/assemble_zip.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/admportal/pom.xml b/admportal/pom.xml
index 1c1c0452..70733bd6 100644
--- a/admportal/pom.xml
+++ b/admportal/pom.xml
@@ -59,6 +59,7 @@
<descriptors>
<descriptor>src/assembly/assemble_zip.xml</descriptor>
</descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
diff --git a/admportal/src/assembly/assemble_zip.xml b/admportal/src/assembly/assemble_zip.xml
index 2c96aa32..736c15cc 100644
--- a/admportal/src/assembly/assemble_zip.xml
+++ b/admportal/src/assembly/assemble_zip.xml
@@ -25,6 +25,7 @@
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>bin</id>
<formats>
<format>zip</format>
</formats>