diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-05-07 21:14:31 +0000 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-05-16 19:46:00 +0000 |
commit | 1f74ea22abc336e3a2c4e408d8522ad90464585b (patch) | |
tree | 4af3d6891dc0f744b4206939cc4d8c7b3d7e5dc6 /platform-logic/installer | |
parent | 45868047871fb6234b9c79568fe65d506128458e (diff) |
fix maven local build issue
onap jenkins use maven-assembly-plugin 2.2-beta-5. without fix, local build use
maven-assembly-plugin 2.4.1 and build fails as:
Assembly is incorrectly configured: null.
to fix local build issue:
1. update to maven-assembly-plugin 2.6
2. add AssemblyId configuration which is needed for assembly >= 2.2
Change-Id: Icb1178b5c254ce188345cf1ee5381b442c8e668d
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'platform-logic/installer')
-rw-r--r-- | platform-logic/installer/pom.xml | 2 | ||||
-rw-r--r-- | platform-logic/installer/src/assembly/assemble_zip.xml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/platform-logic/installer/pom.xml b/platform-logic/installer/pom.xml index 65d850c..95db981 100644 --- a/platform-logic/installer/pom.xml +++ b/platform-logic/installer/pom.xml @@ -46,6 +46,7 @@ </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> + <version>2.6</version> <executions> <execution> <id>create-zip</id> @@ -58,6 +59,7 @@ <descriptors> <descriptor>src/assembly/assemble_zip.xml</descriptor> </descriptors> + <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> diff --git a/platform-logic/installer/src/assembly/assemble_zip.xml b/platform-logic/installer/src/assembly/assemble_zip.xml index 5ff5bc6..2db7334 100644 --- a/platform-logic/installer/src/assembly/assemble_zip.xml +++ b/platform-logic/installer/src/assembly/assemble_zip.xml @@ -24,6 +24,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> |