Skip to content

Commit

Permalink
[MAINTENANCE] Remove forkMode removed parameter from surefire
Browse files Browse the repository at this point in the history
  • Loading branch information
alien11689 committed Jan 25, 2025
1 parent b8d9d6d commit c711c77
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 49 deletions.
7 changes: 0 additions & 7 deletions blueprint/itests/blueprint-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,6 @@

<build>
<plugins>
<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
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
11 changes: 2 additions & 9 deletions subsystem/subsystem-itests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<slf4j-api.version>1.7.7</slf4j-api.version>
<tinybundles.version>2.0.0</tinybundles.version>
<url.version>2.5.3</url.version>
<depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -866,7 +867,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 @@ -876,14 +877,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
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 c711c77

Please sign in to comment.