diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-07-01 15:27:13 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-07-01 17:05:17 +0300 |
commit | 6946c31e6ed8180295e60797d9af0845d6697efd (patch) | |
tree | 274598ce99f0303674171b5e977349b53fa03511 /vid-ext-services-simulator | |
parent | 3e884e186983f1c5a84da07ed82e5c8c1caf55a2 (diff) |
Build module vid-ext-services-simulator
Issue-ID: VID-507
Change-Id: I8f44a4c9b1502e9803dcafe9bce4c59d392c0dfd
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-ext-services-simulator')
-rw-r--r-- | vid-ext-services-simulator/pom.xml | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/vid-ext-services-simulator/pom.xml b/vid-ext-services-simulator/pom.xml index d7a2436a6..dd962db46 100644 --- a/vid-ext-services-simulator/pom.xml +++ b/vid-ext-services-simulator/pom.xml @@ -28,6 +28,10 @@ <!-- "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> @@ -85,6 +89,14 @@ </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 --> <activation> @@ -195,7 +207,7 @@ <executions> <execution> <id>generate-image</id> - <phase>package</phase> + <phase>${dockerBuildPhase}</phase> <goals> <goal>build</goal> </goals> @@ -203,7 +215,7 @@ <execution> <id>push-image</id> - <phase>deploy</phase> + <phase>${dockerPushPhase}</phase> <goals> <goal>build</goal> <goal>push</goal> |