Skip to content

Commit

Permalink
Merge pull request #403 from apache/remove-fork-mode-removed-paramete…
Browse files Browse the repository at this point in the history
…r-from-surefire

Remove fork mode removed parameter from surefire
  • Loading branch information
alien11689 authored Jan 25, 2025
2 parents b8d9d6d + 643e703 commit d6cd5b2
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 36 deletions.
5 changes: 4 additions & 1 deletion blueprint/itests/blueprint-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<commons-jexl.version>2.1.1</commons-jexl.version>
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
<exam.version>4.10.0</exam.version>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<org.apache.aries.proxy.version>1.1.0</org.apache.aries.proxy.version>
<org.apache.aries.quiesce.api.version>1.0.0</org.apache.aries.quiesce.api.version>
<org.apache.aries.testsupport.unit.version>2.0.0-SNAPSHOT</org.apache.aries.testsupport.unit.version>
Expand Down Expand Up @@ -342,8 +343,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 0 additions & 3 deletions ejb/ejb-modeller-itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>

<!-- Tests are not reliable -->
<skipTests>true</skipTests>
</configuration>
Expand All @@ -574,7 +572,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<!--
when the local repo location has been specified, we need to pass
on this information to PAX mvn url
Expand Down
8 changes: 0 additions & 8 deletions jmx/jmx-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 2 additions & 4 deletions jndi/jndi-url-itest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<properties>
<asm-debug-all.version>5.0.3</asm-debug-all.version>
<cm.version>3.2.0-v20070116</cm.version>
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
<geronimo-servlet_2.5_spec.version>1.2</geronimo-servlet_2.5_spec.version>
<jndi-api.version>${jndi-api.dev-version}</jndi-api.version>
<jndi-bundle.version>${jndi-bundle.dev-version}</jndi-bundle.version>
Expand Down Expand Up @@ -279,14 +280,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.5.0</version>
<version>${depends-maven-plugin.version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
Expand Down
1 change: 0 additions & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<argLine>-enableassertions</argLine>
<failIfNoTests>false</failIfNoTests>
<workingDirectory>${project.build.directory}</workingDirectory>
Expand Down
7 changes: 0 additions & 7 deletions proxy/proxy-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
Expand Down
2 changes: 0 additions & 2 deletions spi-fly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
<version>${maven-surefire-plugin.version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<argLine>
-enableassertions
</argLine>
Expand Down Expand Up @@ -210,7 +209,6 @@
<version>${maven-surefire-plugin.version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<argLine>
-enableassertions
--add-opens java.base/java.lang=ALL-UNNAMED
Expand Down
8 changes: 6 additions & 2 deletions subsystem/subsystem-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
<properties>
<asm.version>5.0.3</asm.version>
<build-helper-maven-plugin.version>1.5</build-helper-maven-plugin.version>
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
<easymock.version>3.0</easymock.version>
<exam.version>4.13.5</exam.version>
<logback.version>1.5.16</logback.version>
<maven-jar-plugin.version>2.3</maven-jar-plugin.version>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<org.apache.aries.application.api.version>1.0.0</org.apache.aries.application.api.version>
<org.apache.aries.application.modeller.version>1.0.0</org.apache.aries.application.modeller.version>
<org.apache.aries.application.utils.version>1.0.0</org.apache.aries.application.utils.version>
Expand Down Expand Up @@ -866,7 +868,7 @@
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>depends-maven-plugin</artifactId>
<version>1.5.0</version>
<version>${depends-maven-plugin.version}</version>
<executions>
<execution>
<id>generate-depends-file</id>
Expand All @@ -880,8 +882,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
8 changes: 0 additions & 8 deletions web/web-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit d6cd5b2

Please sign in to comment.