Fix assembly xmls for maven-assembly-plugin v2.2+ 21/3421/3
authorGary Wu <gary.i.wu@huawei.com>
Thu, 13 Apr 2017 19:04:33 +0000 (12:04 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 12 Jul 2017 18:12:21 +0000 (18:12 +0000)
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: I65d79aa4b24759f6b9a3fe8118b888e1672fdf60
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
openecomp-be/tools/swagger-ui/assembly/swagger.xml
openecomp-be/tools/swagger-ui/pom.xml

index 769cc64..b887142 100644 (file)
@@ -2,6 +2,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>war</format>
     </formats>
@@ -73,4 +74,4 @@
             </includes>
         </fileSet>
     </fileSets>
-</assembly>
\ No newline at end of file
+</assembly>
index b2b608c..4a35462 100644 (file)
@@ -91,6 +91,7 @@
                     <descriptor>assembly/swagger.xml</descriptor>
                     <finalName>${plugin.name}</finalName>
                     <outputDirectory>${package.dir}</outputDirectory>
+                    <appendAssemblyId>false</appendAssemblyId>
                 </configuration>
                 <executions>
                     <execution>