Build module vid-ext-services-simulator 25/90725/2
authorIttay Stern <ittay.stern@att.com>
Mon, 1 Jul 2019 12:27:13 +0000 (15:27 +0300)
committerIttay Stern <ittay.stern@att.com>
Mon, 1 Jul 2019 14:05:17 +0000 (17:05 +0300)
Issue-ID: VID-507

Change-Id: I8f44a4c9b1502e9803dcafe9bce4c59d392c0dfd
Signed-off-by: Ittay Stern <ittay.stern@att.com>
pom.xml
vid-ext-services-simulator/pom.xml

diff --git a/pom.xml b/pom.xml
index b91431a..ef7815b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,6 +26,7 @@
                 <module>vid-app-common</module>
                 <module>vid-webpack-master</module>
                 <module>epsdk-app-onap</module>
+                <module>vid-ext-services-simulator</module>
             </modules>
 
             <repositories>
index d7a2436..dd962db 100644 (file)
 
         <!-- "none" will skip cobertura by default; enable the profile "cobertura" to enable it -->
         <coberturaBuildPhase>none</coberturaBuildPhase>
+
+        <!-- will skip docker-maven-plugin by default; enable the profile "docker" to enable it -->
+        <dockerBuildPhase>none</dockerBuildPhase>
+        <dockerPushPhase>none</dockerPushPhase>
     </properties>
 
     <profiles>
             </properties>
         </profile>
 
+        <profile>
+            <id>docker</id>
+            <properties>
+                <dockerBuildPhase>package</dockerBuildPhase>
+                <dockerPushPhase>deploy</dockerPushPhase>
+            </properties>
+        </profile>
+
         <profile>
             <id>docker-proxy</id>
             <!-- activate profile if environment variable `http_proxy` is set -->
                 <executions>
                     <execution>
                         <id>generate-image</id>
-                        <phase>package</phase>
+                        <phase>${dockerBuildPhase}</phase>
                         <goals>
                             <goal>build</goal>
                         </goals>
 
                     <execution>
                         <id>push-image</id>
-                        <phase>deploy</phase>
+                        <phase>${dockerPushPhase}</phase>
                         <goals>
                             <goal>build</goal>
                             <goal>push</goal>