aboutsummaryrefslogtreecommitdiffstats
path: root/dgbuilder
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 /dgbuilder
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 'dgbuilder')
-rw-r--r--dgbuilder/pom.xml1
-rw-r--r--dgbuilder/src/assembly/assemble_zip.xml2
2 files changed, 3 insertions, 0 deletions
diff --git a/dgbuilder/pom.xml b/dgbuilder/pom.xml
index 6c185bbf..0b5386dc 100644
--- a/dgbuilder/pom.xml
+++ b/dgbuilder/pom.xml
@@ -81,6 +81,7 @@
<descriptors>
<descriptor>src/assembly/assemble_zip.xml</descriptor>
</descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
diff --git a/dgbuilder/src/assembly/assemble_zip.xml b/dgbuilder/src/assembly/assemble_zip.xml
index 7bf22d22..1c51346b 100644
--- a/dgbuilder/src/assembly/assemble_zip.xml
+++ b/dgbuilder/src/assembly/assemble_zip.xml
@@ -25,6 +25,8 @@
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>