diff options
author | Bin Yang <bin.yang@windriver.com> | 2019-08-16 10:37:55 +0000 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2019-08-19 03:21:29 +0000 |
commit | 4c33dac9a6735b07c5e7e0d2f67baa2f5eaeed97 (patch) | |
tree | ac66b3aebd2b71f1b417e43f63fcfa418abd9c78 /pike | |
parent | cde71305ed9fe774f62a9c0ee34573f8905b5ce0 (diff) |
Fix copy-resource issue
Change to install phasse to copy artifacts
Change-Id: I496632ba25dc09ce3666eaaa3d985174226f7702
Issue-ID: MULTICLOUD-702
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'pike')
-rw-r--r-- | pike/docker/Dockerfile | 2 | ||||
-rw-r--r-- | pike/pom.xml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pike/docker/Dockerfile b/pike/docker/Dockerfile index 5a3f1743..292cb26e 100644 --- a/pike/docker/Dockerfile +++ b/pike/docker/Dockerfile @@ -33,7 +33,7 @@ EXPOSE 9007 RUN groupadd -r onap && useradd -r -g onap onap -COPY ./multicloud-openstack-pike-1.4.0-SNAPSHOT.zip /opt/multicloud-openstack-pike.zip +COPY ./multicloud-openstack-pike-*.zip /opt/multicloud-openstack-pike.zip RUN apt-get update && \ apt-get install -y memcached wget unzip gcc libssl-dev && \ cd /opt/ && \ diff --git a/pike/pom.xml b/pike/pom.xml index 96039b15..e26bfadc 100644 --- a/pike/pom.xml +++ b/pike/pom.xml @@ -125,11 +125,15 @@ <executions> <execution> <id>copy-resources</id> - <phase>validate</phase> + <phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> + <overwrite>true</overwrite> + <nonFilteredFileExtensions> + <nonFilteredFileExtension>zip</nonFilteredFileExtension> + </nonFilteredFileExtensions> <outputDirectory>${project.basedir}/docker_target</outputDirectory> <resources> <resource> |