From 1085e3c7a76889dda96a9d86af3d1a620587e97f Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Sun, 7 May 2017 20:16:41 +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: Ic14c86c5164157c312df5ef85272f123fde9217d Signed-off-by: Guo Ruijing --- properties-node/installer/pom.xml | 3 +++ properties-node/installer/src/assembly/assemble_installer_zip.xml | 1 + properties-node/installer/src/assembly/assemble_mvnrepo_zip.xml | 1 + restapi-call-node/installer/pom.xml | 3 +++ restapi-call-node/installer/src/assembly/assemble_installer_zip.xml | 1 + restapi-call-node/installer/src/assembly/assemble_mvnrepo_zip.xml | 1 + 6 files changed, 10 insertions(+) diff --git a/properties-node/installer/pom.xml b/properties-node/installer/pom.xml index 0f6d623..12c0a1b 100755 --- a/properties-node/installer/pom.xml +++ b/properties-node/installer/pom.xml @@ -46,6 +46,7 @@ maven-assembly-plugin + 2.6 maven-repo-zip @@ -59,6 +60,7 @@ src/assembly/assemble_mvnrepo_zip.xml + false @@ -73,6 +75,7 @@ src/assembly/assemble_installer_zip.xml + false diff --git a/properties-node/installer/src/assembly/assemble_installer_zip.xml b/properties-node/installer/src/assembly/assemble_installer_zip.xml index f613d33..10b53b9 100644 --- a/properties-node/installer/src/assembly/assemble_installer_zip.xml +++ b/properties-node/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/properties-node/installer/src/assembly/assemble_mvnrepo_zip.xml b/properties-node/installer/src/assembly/assemble_mvnrepo_zip.xml index 27df272..6542ce0 100644 --- a/properties-node/installer/src/assembly/assemble_mvnrepo_zip.xml +++ b/properties-node/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 diff --git a/restapi-call-node/installer/pom.xml b/restapi-call-node/installer/pom.xml index d168694..a1578ff 100755 --- a/restapi-call-node/installer/pom.xml +++ b/restapi-call-node/installer/pom.xml @@ -46,6 +46,7 @@ maven-assembly-plugin + 2.6 maven-repo-zip @@ -59,6 +60,7 @@ src/assembly/assemble_mvnrepo_zip.xml + false @@ -73,6 +75,7 @@ src/assembly/assemble_installer_zip.xml + false diff --git a/restapi-call-node/installer/src/assembly/assemble_installer_zip.xml b/restapi-call-node/installer/src/assembly/assemble_installer_zip.xml index f613d33..10b53b9 100644 --- a/restapi-call-node/installer/src/assembly/assemble_installer_zip.xml +++ b/restapi-call-node/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/restapi-call-node/installer/src/assembly/assemble_mvnrepo_zip.xml b/restapi-call-node/installer/src/assembly/assemble_mvnrepo_zip.xml index 27df272..6542ce0 100644 --- a/restapi-call-node/installer/src/assembly/assemble_mvnrepo_zip.xml +++ b/restapi-call-node/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