Skip to content

Commit 82e0162

Browse files
authored
Merge pull request #223 from data-integrations/skip-its-docker
Ensure docker maven plugin is skipped if either docker.skip or skipITs is set
2 parents d302261 + dec10bb commit 82e0162

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Diff for: pom.xml

+12-3
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@
198198
<groupId>io.fabric8</groupId>
199199
<artifactId>docker-maven-plugin</artifactId>
200200
<version>0.33.0</version>
201-
<configuration>
202-
<skip>${skipITs}</skip>
203-
</configuration>
204201
<executions>
205202
<execution>
206203
<id>start</id>
@@ -341,6 +338,18 @@
341338
</build>
342339

343340
<profiles>
341+
<profile>
342+
<id>skip-its</id>
343+
<activation>
344+
<property>
345+
<name>skipITs</name>
346+
<value>true</value>
347+
</property>
348+
</activation>
349+
<properties>
350+
<docker.skip>true</docker.skip>
351+
</properties>
352+
</profile>
344353
<profile>
345354
<id>release</id>
346355
<build>

0 commit comments

Comments
 (0)