[DOCKER] Fix dgbuilder 03/3703/1
authorTimoney, Daniel (dt5972) <dtimoney@att.com>
Tue, 25 Apr 2017 12:40:01 +0000 (12:40 +0000)
committerTimoney, Daniel (dt5972) <dtimoney@att.com>
Tue, 25 Apr 2017 12:40:11 +0000 (12:40 +0000)
Fix dgbuilder docker container build

Change-Id: I0601bcd807a7d79a01788fb2d021554f013e43ea
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
Former-commit-id: b93e5937498c01c8b1969104a5045d75d9985895

dgbuilder/src/assembly/assemble_zip.xml
installation/dgbuilder/pom.xml

index 7bf22d2..8b65f50 100644 (file)
@@ -3,7 +3,7 @@
   openECOMP : SDN-C
   ================================================================================
   Copyright (C) 2017 AT&T Intellectual Property. All rights
-                                               reserved.
+                                                       reserved.
   ================================================================================
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
index 953e309..f3940b1 100644 (file)
@@ -84,7 +84,7 @@
                                <executions>
                                        <execution>
                                                <id>generate-images</id>
-                                               <phase>generate-sources</phase>
+                                               <phase>package</phase>
                                                <goals>
                                                        <goal>build</goal>
                                                </goals>
                                <groupId>org.codehaus.mojo</groupId>
                                <version>1.5.0</version>
                                <executions>
+                                       <execution>
+                                               <id>Make-stage-dir</id>
+                                               <phase>generate-sources</phase>
+                                               <goals>
+                                                       <goal>exec</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <executable>/bin/mkdir</executable>
+                                                       <arguments>
+                                                       <argument>-p</argument>
+                                                       <argument>${basedir}/target/docker-stage/opt/openecomp/sdnc</argument>
+                                                       </arguments>
+                                               </configuration>
+                                       </execution>
                                        <execution>
                                                <id>Unzip dgbuilder</id>
                                                <phase>generate-sources</phase>