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 /dgbuilder | |
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 'dgbuilder')
-rw-r--r-- | dgbuilder/pom.xml | 2 | ||||
-rw-r--r-- | dgbuilder/src/assembly/assemble_zip.xml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/dgbuilder/pom.xml b/dgbuilder/pom.xml index abd18531..7eb17848 100644 --- a/dgbuilder/pom.xml +++ b/dgbuilder/pom.xml @@ -68,6 +68,7 @@ <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> + <version>2.6</version> <executions> <execution> <id>create-zip</id> @@ -81,6 +82,7 @@ <descriptors> <descriptor>src/assembly/assemble_zip.xml</descriptor> </descriptors> + <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> </executions> diff --git a/dgbuilder/src/assembly/assemble_zip.xml b/dgbuilder/src/assembly/assemble_zip.xml index 8b65f500..b9943613 100644 --- a/dgbuilder/src/assembly/assemble_zip.xml +++ b/dgbuilder/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> |