Fix assembly xmls for maven-assembly-plugin v2.2+ 97/3197/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 7 Apr 2017 19:26:14 +0000 (12:26 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 7 Apr 2017 19:53:24 +0000 (12:53 -0700)
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

admportal/pom.xml
admportal/src/assembly/assemble_zip.xml
dgbuilder/pom.xml
dgbuilder/src/assembly/assemble_zip.xml
platform-logic/installer/pom.xml
platform-logic/installer/src/assembly/assemble_zip.xml

index 1c1c045..70733bd 100644 (file)
@@ -59,6 +59,7 @@
                                                        <descriptors>
                                                                <descriptor>src/assembly/assemble_zip.xml</descriptor>
                                                        </descriptors>
+                                                       <appendAssemblyId>false</appendAssemblyId>
                                                </configuration>
                                        </execution>
                                </executions>
index 2c96aa3..736c15c 100644 (file)
@@ -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>
index 6c185bb..0b5386d 100644 (file)
@@ -81,6 +81,7 @@
                                                        <descriptors>
                                                                <descriptor>src/assembly/assemble_zip.xml</descriptor>
                                                        </descriptors>
+                                                       <appendAssemblyId>false</appendAssemblyId>
                                                </configuration>
                                        </execution>
                                </executions>
index 7bf22d2..1c51346 100644 (file)
@@ -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>
index 95fa8c9..093dcc6 100644 (file)
@@ -60,6 +60,7 @@
                                                        <descriptors>
                                                                <descriptor>src/assembly/assemble_zip.xml</descriptor>
                                                        </descriptors>
+                                                       <appendAssemblyId>false</appendAssemblyId>
                                                </configuration>
                                        </execution>
 
index b704ac1..2de402e 100644 (file)
@@ -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>