Fix Docker push in integration test 31/17231/1
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 4 Oct 2017 13:52:53 +0000 (15:52 +0200)
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>
Wed, 4 Oct 2017 13:52:53 +0000 (15:52 +0200)
Remove the push to registry when with-integration-tests profile is
enabled (tby default)

Change-Id: Iee9928577ae9189f846b6d4370aa5464de9ab765
Issue-ID: SO-188
Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
packages/pom.xml

index e632f82..40a9b6e 100644 (file)
                        </modules>\r
                </profile>\r
 \r
+    <!-- Those profile are exclusive, choose docker or with-integration-tests -->\r
                <profile>\r
                        <id>docker</id>\r
                        <modules>\r
                                <module>deliveries</module>\r
                                <module>docker</module>\r
                        </modules>\r
+                       <properties>\r
+                                       <!-- For this profile we probably don't want to skip the docker push (if deploy goal is specified) -->\r
+                                       <docker.skip.push>false</docker.skip.push>\r
+                       </properties>\r
                </profile>\r
 \r
                <profile>\r
                                <module>docker</module>\r
                                <module>arquillian-unit-tests</module>\r
                        </modules>\r
+                       <properties>\r
+                                       <!-- For this profile we want to skip the docker push (if deploy goal is specified) -->\r
+                                       <docker.skip.push>true</docker.skip.push>\r
+                       </properties>\r
                </profile>\r
 \r
        </profiles>\r