From a5aae99cb537030f6d21fdaef5490ea82612884c Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Sun, 7 May 2017 19:08:00 +0000 Subject: 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: I7b0b4ac61351704b4beab073dda5779d6b6e6152 Signed-off-by: Guo Ruijing Former-commit-id: 6485eecefff83d76557aa8aaf33d273d5033d967 --- admportal/pom.xml | 2 ++ admportal/src/assembly/assemble_zip.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'admportal') diff --git a/admportal/pom.xml b/admportal/pom.xml index 5e9cad66..41070864 100644 --- a/admportal/pom.xml +++ b/admportal/pom.xml @@ -46,6 +46,7 @@ maven-assembly-plugin + 2.6 create-zip @@ -60,6 +61,7 @@ src/assembly/assemble_zip.xml false + false diff --git a/admportal/src/assembly/assemble_zip.xml b/admportal/src/assembly/assemble_zip.xml index 736c15cc..de4aae86 100644 --- a/admportal/src/assembly/assemble_zip.xml +++ b/admportal/src/assembly/assemble_zip.xml @@ -25,7 +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"> - bin + bin zip -- cgit 1.2.3-korg