summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dgbuilder/src/assembly/assemble_zip.xml2
-rw-r--r--installation/dgbuilder/pom.xml16
2 files changed, 16 insertions, 2 deletions
diff --git a/dgbuilder/src/assembly/assemble_zip.xml b/dgbuilder/src/assembly/assemble_zip.xml
index 7bf22d22..8b65f500 100644
--- a/dgbuilder/src/assembly/assemble_zip.xml
+++ b/dgbuilder/src/assembly/assemble_zip.xml
@@ -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.
diff --git a/installation/dgbuilder/pom.xml b/installation/dgbuilder/pom.xml
index 953e309e..f3940b17 100644
--- a/installation/dgbuilder/pom.xml
+++ b/installation/dgbuilder/pom.xml
@@ -84,7 +84,7 @@
<executions>
<execution>
<id>generate-images</id>
- <phase>generate-sources</phase>
+ <phase>package</phase>
<goals>
<goal>build</goal>
</goals>
@@ -132,6 +132,20 @@
<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>
<goals>