Skip to content

Commit 09c6df3

Browse files
author
Alexandre Dutra
committed
Do not use activeByDefault activation mechanism as other profiles might be active at the same time.
1 parent 7d7aace commit 09c6df3

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

driver-core/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,15 @@
288288

289289
<profiles>
290290
<profile>
291-
<id>default</id>
291+
<id>unit</id>
292292
<properties>
293293
<env>default</env>
294294
</properties>
295+
<!-- do not use activeByDefault as other profiles might be active -->
295296
<activation>
296-
<activeByDefault>true</activeByDefault>
297+
<property>
298+
<name>!activateUnitTests</name>
299+
</property>
297300
</activation>
298301
<build>
299302
<plugins>

driver-mapping/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,15 @@
129129

130130
<profiles>
131131
<profile>
132-
<id>default</id>
132+
<id>unit</id>
133133
<properties>
134134
<env>default</env>
135135
</properties>
136+
<!-- do not use activeByDefault as other profiles might be active -->
136137
<activation>
137-
<activeByDefault>true</activeByDefault>
138+
<property>
139+
<name>!activateUnitTests</name>
140+
</property>
138141
</activation>
139142
<build>
140143
<plugins>

0 commit comments

Comments
 (0)