Skip to content

Commit 1493380

Browse files
committed
feat: polarion2410 profile is default
all other profiles are marked as deprecated maven.config is used to activate polarion2410 Refs: #206
1 parent e6c72d8 commit 1493380

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-Dpolarion.version=2410

pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@
191191
<id>polarion2310</id>
192192
<activation>
193193
<property>
194-
<name>polarion2310active</name>
195-
<value>true</value>
194+
<name>polarion.version</name>
195+
<value>2310</value>
196196
</property>
197197
</activation>
198198
<properties>
@@ -210,11 +210,13 @@
210210
</properties>
211211
</profile>
212212

213+
<!-- deprecated profile: polarion2404 -->
213214
<profile>
214215
<id>polarion2404</id>
215216
<activation>
216217
<property>
217-
<name>!polarion2410active</name>
218+
<name>polarion.version</name>
219+
<value>2404</value>
218220
</property>
219221
</activation>
220222
<properties>
@@ -235,8 +237,10 @@
235237
<profile>
236238
<id>polarion2410</id>
237239
<activation>
240+
<activeByDefault>true</activeByDefault>
238241
<property>
239-
<name>polarion2410active</name>
242+
<name>polarion.version</name>
243+
<value>2410</value>
240244
</property>
241245
</activation>
242246
<properties>

0 commit comments

Comments
 (0)