Issue-ID: VID-507
Change-Id: I8f44a4c9b1502e9803dcafe9bce4c59d392c0dfd
Signed-off-by: Ittay Stern <ittay.stern@att.com>
<module>vid-app-common</module>
<module>vid-webpack-master</module>
<module>epsdk-app-onap</module>
+ <module>vid-ext-services-simulator</module>
</modules>
<repositories>
<!-- "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>