Fix copy-resource issue 79/93679/2
authorBin Yang <bin.yang@windriver.com>
Fri, 16 Aug 2019 10:37:55 +0000 (10:37 +0000)
committerBin Yang <bin.yang@windriver.com>
Mon, 19 Aug 2019 03:21:29 +0000 (03:21 +0000)
Change to install phasse to copy artifacts

Change-Id: I496632ba25dc09ce3666eaaa3d985174226f7702
Issue-ID: MULTICLOUD-702
Signed-off-by: Bin Yang <bin.yang@windriver.com>
pike/docker/Dockerfile
pike/pom.xml

index 5a3f174..292cb26 100644 (file)
@@ -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/ && \
index 96039b1..e26bfad 100644 (file)
                         <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>