Skip to content

Commit d6cd5b2

Browse files
authored
Merge pull request #403 from apache/remove-fork-mode-removed-parameter-from-surefire
Remove fork mode removed parameter from surefire
2 parents b8d9d6d + 643e703 commit d6cd5b2

File tree

9 files changed

+12
-36
lines changed

9 files changed

+12
-36
lines changed

blueprint/itests/blueprint-itests/pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<commons-jexl.version>2.1.1</commons-jexl.version>
5757
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
5858
<exam.version>4.10.0</exam.version>
59+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
5960
<org.apache.aries.proxy.version>1.1.0</org.apache.aries.proxy.version>
6061
<org.apache.aries.quiesce.api.version>1.0.0</org.apache.aries.quiesce.api.version>
6162
<org.apache.aries.testsupport.unit.version>2.0.0-SNAPSHOT</org.apache.aries.testsupport.unit.version>
@@ -342,8 +343,10 @@
342343
<plugin>
343344
<groupId>org.apache.maven.plugins</groupId>
344345
<artifactId>maven-surefire-plugin</artifactId>
346+
<version>${maven-surefire-plugin.version}</version>
345347
<configuration>
346-
<forkMode>pertest</forkMode>
348+
<forkCount>1</forkCount>
349+
<reuseForks>false</reuseForks>
347350
</configuration>
348351
</plugin>
349352
<plugin>

ejb/ejb-modeller-itest/pom.xml

-3
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,6 @@
551551
<groupId>org.apache.maven.plugins</groupId>
552552
<artifactId>maven-surefire-plugin</artifactId>
553553
<configuration>
554-
<forkMode>pertest</forkMode>
555-
556554
<!-- Tests are not reliable -->
557555
<skipTests>true</skipTests>
558556
</configuration>
@@ -574,7 +572,6 @@
574572
<groupId>org.apache.maven.plugins</groupId>
575573
<artifactId>maven-surefire-plugin</artifactId>
576574
<configuration>
577-
<forkMode>pertest</forkMode>
578575
<!--
579576
when the local repo location has been specified, we need to pass
580577
on this information to PAX mvn url

jmx/jmx-itests/pom.xml

-8
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,6 @@
253253
</execution>
254254
</executions>
255255
</plugin>
256-
257-
<plugin>
258-
<groupId>org.apache.maven.plugins</groupId>
259-
<artifactId>maven-surefire-plugin</artifactId>
260-
<configuration>
261-
<forkMode>pertest</forkMode>
262-
</configuration>
263-
</plugin>
264256
</plugins>
265257
</build>
266258

jndi/jndi-url-itest/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<properties>
4646
<asm-debug-all.version>5.0.3</asm-debug-all.version>
4747
<cm.version>3.2.0-v20070116</cm.version>
48+
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
4849
<geronimo-servlet_2.5_spec.version>1.2</geronimo-servlet_2.5_spec.version>
4950
<jndi-api.version>${jndi-api.dev-version}</jndi-api.version>
5051
<jndi-bundle.version>${jndi-bundle.dev-version}</jndi-bundle.version>
@@ -279,14 +280,11 @@
279280
<plugin>
280281
<groupId>org.apache.maven.plugins</groupId>
281282
<artifactId>maven-surefire-plugin</artifactId>
282-
<configuration>
283-
<forkMode>pertest</forkMode>
284-
</configuration>
285283
</plugin>
286284
<plugin>
287285
<groupId>org.apache.servicemix.tooling</groupId>
288286
<artifactId>depends-maven-plugin</artifactId>
289-
<version>1.5.0</version>
287+
<version>${depends-maven-plugin.version}</version>
290288
<executions>
291289
<execution>
292290
<phase>generate-resources</phase>

parent/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,6 @@
404404
<artifactId>maven-surefire-plugin</artifactId>
405405
<configuration>
406406
<redirectTestOutputToFile>true</redirectTestOutputToFile>
407-
<forkMode>once</forkMode>
408407
<argLine>-enableassertions</argLine>
409408
<failIfNoTests>false</failIfNoTests>
410409
<workingDirectory>${project.build.directory}</workingDirectory>

proxy/proxy-itests/pom.xml

-7
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@
189189
<artifactId>maven-compiler-plugin</artifactId>
190190
<version>${maven-compiler-plugin.version}</version>
191191
</plugin>
192-
<plugin>
193-
<groupId>org.apache.maven.plugins</groupId>
194-
<artifactId>maven-surefire-plugin</artifactId>
195-
<configuration>
196-
<forkMode>pertest</forkMode>
197-
</configuration>
198-
</plugin>
199192
<plugin>
200193
<groupId>org.apache.servicemix.tooling</groupId>
201194
<artifactId>depends-maven-plugin</artifactId>

spi-fly/pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
<version>${maven-surefire-plugin.version}</version>
144144
<configuration>
145145
<redirectTestOutputToFile>true</redirectTestOutputToFile>
146-
<forkMode>once</forkMode>
147146
<argLine>
148147
-enableassertions
149148
</argLine>
@@ -210,7 +209,6 @@
210209
<version>${maven-surefire-plugin.version}</version>
211210
<configuration>
212211
<redirectTestOutputToFile>true</redirectTestOutputToFile>
213-
<forkMode>once</forkMode>
214212
<argLine>
215213
-enableassertions
216214
--add-opens java.base/java.lang=ALL-UNNAMED

subsystem/subsystem-itests/pom.xml

+6-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@
4040
<properties>
4141
<asm.version>5.0.3</asm.version>
4242
<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
43+
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
4344
<easymock.version>3.0</easymock.version>
4445
<exam.version>4.13.5</exam.version>
4546
<logback.version>1.5.16</logback.version>
4647
<maven-jar-plugin.version>2.3</maven-jar-plugin.version>
48+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
4749
<org.apache.aries.application.api.version>1.0.0</org.apache.aries.application.api.version>
4850
<org.apache.aries.application.modeller.version>1.0.0</org.apache.aries.application.modeller.version>
4951
<org.apache.aries.application.utils.version>1.0.0</org.apache.aries.application.utils.version>
@@ -866,7 +868,7 @@
866868
<plugin>
867869
<groupId>org.apache.servicemix.tooling</groupId>
868870
<artifactId>depends-maven-plugin</artifactId>
869-
<version>1.5.0</version>
871+
<version>${depends-maven-plugin.version}</version>
870872
<executions>
871873
<execution>
872874
<id>generate-depends-file</id>
@@ -880,8 +882,10 @@
880882
<plugin>
881883
<groupId>org.apache.maven.plugins</groupId>
882884
<artifactId>maven-surefire-plugin</artifactId>
885+
<version>${maven-surefire-plugin.version}</version>
883886
<configuration>
884-
<forkMode>pertest</forkMode>
887+
<forkCount>1</forkCount>
888+
<reuseForks>false</reuseForks>
885889
</configuration>
886890
</plugin>
887891
</plugins>

web/web-itests/pom.xml

-8
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,6 @@
210210
</execution>
211211
</executions>
212212
</plugin>
213-
214-
<plugin>
215-
<groupId>org.apache.maven.plugins</groupId>
216-
<artifactId>maven-surefire-plugin</artifactId>
217-
<configuration>
218-
<forkMode>pertest</forkMode>
219-
</configuration>
220-
</plugin>
221213
</plugins>
222214
</build>
223215

0 commit comments

Comments
 (0)