From ec94d5fb3dc51e68e02c1261397654de8084ba1a Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Sun, 7 May 2017 19:27:27 +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: Id3e0d959a12ceb8b67a139a2cb22850864666354 Signed-off-by: Guo Ruijing --- resource-assignment/installer/pom.xml | 3 +++ resource-assignment/installer/src/assembly/assemble_installer_zip.xml | 1 + resource-assignment/installer/src/assembly/assemble_mvnrepo_zip.xml | 1 + 3 files changed, 5 insertions(+) (limited to 'resource-assignment/installer') diff --git a/resource-assignment/installer/pom.xml b/resource-assignment/installer/pom.xml index 2868626..17dc896 100755 --- a/resource-assignment/installer/pom.xml +++ b/resource-assignment/installer/pom.xml @@ -45,6 +45,7 @@ maven-assembly-plugin + 2.6 maven-repo-zip @@ -58,6 +59,7 @@ src/assembly/assemble_mvnrepo_zip.xml + false @@ -72,6 +74,7 @@ src/assembly/assemble_installer_zip.xml + false diff --git a/resource-assignment/installer/src/assembly/assemble_installer_zip.xml b/resource-assignment/installer/src/assembly/assemble_installer_zip.xml index 728afca..1bb0d08 100644 --- a/resource-assignment/installer/src/assembly/assemble_installer_zip.xml +++ b/resource-assignment/installer/src/assembly/assemble_installer_zip.xml @@ -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"> + installer_zip zip diff --git a/resource-assignment/installer/src/assembly/assemble_mvnrepo_zip.xml b/resource-assignment/installer/src/assembly/assemble_mvnrepo_zip.xml index c14f8ae..6eb4554 100644 --- a/resource-assignment/installer/src/assembly/assemble_mvnrepo_zip.xml +++ b/resource-assignment/installer/src/assembly/assemble_mvnrepo_zip.xml @@ -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"> + mvnrepo_zip zip -- cgit 1.2.3-korg