diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-05-07 19:08:00 +0000 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-05-07 19:10:22 +0000 |
commit | a5aae99cb537030f6d21fdaef5490ea82612884c (patch) | |
tree | 9953d4833722f180b2ebb3d7d42f26f5d0ee45ae /platform-logic/installer | |
parent | d69660831c9dab695b1a89f8dcb7e522fbb25651 (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: I7b0b4ac61351704b4beab073dda5779d6b6e6152
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Former-commit-id: 6485eecefff83d76557aa8aaf33d273d5033d967
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 837587a5..50998aa4 100644 --- a/platform-logic/installer/pom.xml +++ b/platform-logic/installer/pom.xml @@ -48,6 +48,7 @@ </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> + <version>2.6</version> <executions> <execution> <id>create-zip</id> @@ -60,6 +61,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 b704ac1c..5e62ecb8 100644 --- a/platform-logic/installer/src/assembly/assemble_zip.xml +++ b/platform-logic/installer/src/assembly/assemble_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"> + <id>bin</id> <formats> <format>zip</format> </formats> |