File tree Expand file tree Collapse file tree 1 file changed +77
-3
lines changed Expand file tree Collapse file tree 1 file changed +77
-3
lines changed Original file line number Diff line number Diff line change 395
395
<exclude >**/Abstract*.class</exclude >
396
396
<exclude >**/*StressTest.class</exclude >
397
397
</excludes >
398
- <argLine >
399
- ${tests.jvm.argline}
400
- </argLine >
401
398
<jvmArgs >
402
399
<param >-Xmx512m</param >
403
400
<param >-Xss256k</param >
1193
1190
</plugins >
1194
1191
</pluginManagement >
1195
1192
</build >
1193
+ <profiles >
1194
+ <!-- default profile, with randomization setting kicks in -->
1195
+ <profile >
1196
+ <id >default</id >
1197
+ <activation >
1198
+ <activeByDefault >true</activeByDefault >
1199
+ </activation >
1200
+ <build >
1201
+ <plugins >
1202
+ <plugin >
1203
+ <groupId >com.carrotsearch.randomizedtesting</groupId >
1204
+ <artifactId >junit4-maven-plugin</artifactId >
1205
+ <configuration >
1206
+ <argLine >${tests.jvm.argline} </argLine >
1207
+ </configuration >
1208
+ </plugin >
1209
+ </plugins >
1210
+ </build >
1211
+ </profile >
1212
+ <!-- jacoco coverage profile. This will insert -jagent -->
1213
+ <profile >
1214
+ <id >coverage</id >
1215
+ <activation >
1216
+ <property >
1217
+ <name >tests.coverage</name >
1218
+ <value >true</value >
1219
+ </property >
1220
+ </activation >
1221
+ <dependencies >
1222
+ <dependency >
1223
+ <!-- must be on the classpath -->
1224
+ <groupId >org.jacoco</groupId >
1225
+ <artifactId >org.jacoco.agent</artifactId >
1226
+ <classifier >runtime</classifier >
1227
+ <version >0.6.4.201312101107</version >
1228
+ <scope >test</scope >
1229
+ </dependency >
1230
+ </dependencies >
1231
+ <build >
1232
+ <plugins >
1233
+ <plugin >
1234
+ <groupId >org.jacoco</groupId >
1235
+ <artifactId >jacoco-maven-plugin</artifactId >
1236
+ <version >0.6.4.201312101107</version >
1237
+ <executions >
1238
+ <execution >
1239
+ <id >default-prepare-agent</id >
1240
+ <goals >
1241
+ <goal >prepare-agent</goal >
1242
+ </goals >
1243
+ </execution >
1244
+ <execution >
1245
+ <id >default-report</id >
1246
+ <phase >prepare-package</phase >
1247
+ <goals >
1248
+ <goal >report</goal >
1249
+ </goals >
1250
+ </execution >
1251
+ <execution >
1252
+ <id >default-check</id >
1253
+ <goals >
1254
+ <goal >check</goal >
1255
+ </goals >
1256
+ </execution >
1257
+ </executions >
1258
+ <configuration >
1259
+ <excludes >
1260
+ <exclude >jsr166e/**</exclude >
1261
+ <exclude >jsr166y/**</exclude >
1262
+ <exclude >org/apache/lucene/**</exclude >
1263
+ </excludes >
1264
+ </configuration >
1265
+ </plugin >
1266
+ </plugins >
1267
+ </build >
1268
+ </profile >
1269
+ </profiles >
1196
1270
</project >
You can’t perform that action at this time.
0 commit comments