This is an automated email from the ASF dual-hosted git repository.
jungm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/main by this push:
new f09a2c7c4a TOMEE-4733 - Use surefire.version in MicroProfile TCK
modules (#3156)
f09a2c7c4a is described below
commit f09a2c7c4a522b53c0f3e43b32824717c017291f
Author: Markus Jung <[email protected]>
AuthorDate: Mon Nov 2 14:33:12 2026 +0100
TOMEE-4733 - Use surefire.version in MicroProfile TCK modules (#3156)
The MicroProfile TCK poms hard-code the Surefire version, so the 3.5.6
pin in tck/pom.xml does not apply to them. Config and JWT TCK still run
Surefire 3.6.1 and fail on suiteXmlFiles.
---
tck/microprofile-tck/config/pom.xml | 2 +-
tck/microprofile-tck/fault-tolerance/pom.xml | 2 +-
tck/microprofile-tck/health/pom.xml | 2 +-
tck/microprofile-tck/jwt/pom.xml | 2 +-
tck/microprofile-tck/openapi/pom.xml | 3 +--
tck/microprofile-tck/opentelemetry/logs/pom.xml | 2 +-
tck/microprofile-tck/opentelemetry/metrics/pom.xml | 2 +-
tck/microprofile-tck/opentelemetry/tracing/pom.xml | 2 +-
8 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/tck/microprofile-tck/config/pom.xml
b/tck/microprofile-tck/config/pom.xml
index cad10c29fe..8c58e86dfc 100644
--- a/tck/microprofile-tck/config/pom.xml
+++ b/tck/microprofile-tck/config/pom.xml
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<!--
<dependenciesToScan>
diff --git a/tck/microprofile-tck/fault-tolerance/pom.xml
b/tck/microprofile-tck/fault-tolerance/pom.xml
index fcf22832ed..7a8f06caee 100644
--- a/tck/microprofile-tck/fault-tolerance/pom.xml
+++ b/tck/microprofile-tck/fault-tolerance/pom.xml
@@ -33,7 +33,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
diff --git a/tck/microprofile-tck/health/pom.xml
b/tck/microprofile-tck/health/pom.xml
index 0c9299e21d..2e049020fa 100644
--- a/tck/microprofile-tck/health/pom.xml
+++ b/tck/microprofile-tck/health/pom.xml
@@ -32,7 +32,7 @@
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<dependenciesToScan>
<dependency>org.eclipse.microprofile.health:microprofile-health-tck</dependency>
diff --git a/tck/microprofile-tck/jwt/pom.xml b/tck/microprofile-tck/jwt/pom.xml
index cf7fd41371..5b461642d7 100644
--- a/tck/microprofile-tck/jwt/pom.xml
+++ b/tck/microprofile-tck/jwt/pom.xml
@@ -157,7 +157,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>${project.build.directory}/dependency/suites/tck-base-suite.xml</suiteXmlFile>
diff --git a/tck/microprofile-tck/openapi/pom.xml
b/tck/microprofile-tck/openapi/pom.xml
index 593b02d008..e9b626ecd1 100644
--- a/tck/microprofile-tck/openapi/pom.xml
+++ b/tck/microprofile-tck/openapi/pom.xml
@@ -63,8 +63,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <!-- Updated version to fix hanging text -->
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<dependenciesToScan>
<dependency>org.eclipse.microprofile.openapi:microprofile-openapi-tck</dependency>
diff --git a/tck/microprofile-tck/opentelemetry/logs/pom.xml
b/tck/microprofile-tck/opentelemetry/logs/pom.xml
index a413bad939..830a8c8417 100644
--- a/tck/microprofile-tck/opentelemetry/logs/pom.xml
+++ b/tck/microprofile-tck/opentelemetry/logs/pom.xml
@@ -41,7 +41,7 @@
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<reuseForks>false</reuseForks>
<dependenciesToScan>
diff --git a/tck/microprofile-tck/opentelemetry/metrics/pom.xml
b/tck/microprofile-tck/opentelemetry/metrics/pom.xml
index a88f667859..b95911226a 100644
--- a/tck/microprofile-tck/opentelemetry/metrics/pom.xml
+++ b/tck/microprofile-tck/opentelemetry/metrics/pom.xml
@@ -41,7 +41,7 @@
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<reuseForks>false</reuseForks>
<dependenciesToScan>
diff --git a/tck/microprofile-tck/opentelemetry/tracing/pom.xml
b/tck/microprofile-tck/opentelemetry/tracing/pom.xml
index 3081433944..5f895f3a6e 100644
--- a/tck/microprofile-tck/opentelemetry/tracing/pom.xml
+++ b/tck/microprofile-tck/opentelemetry/tracing/pom.xml
@@ -31,7 +31,7 @@
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
- <version>3.6.1</version>
+ <version>${surefire.version}</version>
<configuration>
<reuseForks>false</reuseForks>
<dependenciesToScan>