diff options
author | 2017-05-03 23:55:30 +0000 | |
---|---|---|
committer | 2017-05-04 19:08:53 +0000 | |
commit | 116bb8574066cc0175a54371269707bc0e94e6d7 (patch) | |
tree | 7bf5ce1f44bdc0daa343cf646393d50e48deeed8 /dmaap-listener | |
parent | 0690dac45a1fd760453859e795453cca59f1451e (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: Id929f6ff31beb64e9025346c0bf636d44a5eaa47
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'dmaap-listener')
-rwxr-xr-x | dmaap-listener/pom.xml | 2 | ||||
-rw-r--r-- | dmaap-listener/src/assembly/assemble_zip.xml | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/dmaap-listener/pom.xml b/dmaap-listener/pom.xml index 58d23ae2..944ca86d 100755 --- a/dmaap-listener/pom.xml +++ b/dmaap-listener/pom.xml @@ -88,6 +88,7 @@ <plugin> <artifactId>maven-assembly-plugin</artifactId> + <version>2.6</version> <executions> <execution> <id>create-zip</id> @@ -102,6 +103,7 @@ <descriptors> <descriptor>src/assembly/assemble_zip.xml</descriptor> </descriptors> + <appendAssemblyId>false</appendAssemblyId> </configuration> </execution> </executions> diff --git a/dmaap-listener/src/assembly/assemble_zip.xml b/dmaap-listener/src/assembly/assemble_zip.xml index 4874d005..bd0cdd59 100644 --- a/dmaap-listener/src/assembly/assemble_zip.xml +++ b/dmaap-listener/src/assembly/assemble_zip.xml @@ -23,6 +23,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>assemble_zip</id> <formats> <format>zip</format> </formats> |