Fix dgbuilder docker container build
Change-Id: I0601bcd807a7d79a01788fb2d021554f013e43ea
Signed-off-by: Timoney, Daniel (dt5972) <dtimoney@att.com>
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.
<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>