This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch WW-5462-mock-package-cleanup
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 6c929828402ee34b72d843823178ba8401ab14d4
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Jul 23 16:52:58 2026 +0200

    WW-5462 build(plugins): consume struts2-core test-jar in tests
---
 plugins/jasperreports/pom.xml  | 9 +++++++++
 plugins/jasperreports7/pom.xml | 9 +++++++++
 plugins/json/pom.xml           | 8 ++++++++
 plugins/rest/pom.xml           | 8 ++++++++
 plugins/spring/pom.xml         | 8 ++++++++
 plugins/xslt/pom.xml           | 8 ++++++++
 6 files changed, 50 insertions(+)

diff --git a/plugins/jasperreports/pom.xml b/plugins/jasperreports/pom.xml
index 2c90d5fca..2ca28481a 100644
--- a/plugins/jasperreports/pom.xml
+++ b/plugins/jasperreports/pom.xml
@@ -53,6 +53,15 @@
                 </exclusion>
             </exclusions>
         </dependency>
+
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-junit-plugin</artifactId>
diff --git a/plugins/jasperreports7/pom.xml b/plugins/jasperreports7/pom.xml
index 3e0095f76..f6126f64d 100644
--- a/plugins/jasperreports7/pom.xml
+++ b/plugins/jasperreports7/pom.xml
@@ -63,6 +63,15 @@
             <groupId>com.fasterxml.jackson.core</groupId>
             <artifactId>jackson-databind</artifactId>
         </dependency>
+
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-junit-plugin</artifactId>
diff --git a/plugins/json/pom.xml b/plugins/json/pom.xml
index 5223b02d6..1b3d8d1a5 100644
--- a/plugins/json/pom.xml
+++ b/plugins/json/pom.xml
@@ -48,6 +48,14 @@
     </build>
 
     <dependencies>
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-junit-plugin</artifactId>
diff --git a/plugins/rest/pom.xml b/plugins/rest/pom.xml
index 036694c00..b24da920e 100644
--- a/plugins/rest/pom.xml
+++ b/plugins/rest/pom.xml
@@ -68,6 +68,14 @@
             <optional>true</optional>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
                <dependency>
             <groupId>mockobjects</groupId>
             <artifactId>mockobjects-core</artifactId>
diff --git a/plugins/spring/pom.xml b/plugins/spring/pom.xml
index fddfb03de..9040fe8d1 100644
--- a/plugins/spring/pom.xml
+++ b/plugins/spring/pom.xml
@@ -64,6 +64,14 @@
             <optional>true</optional>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-test</artifactId>
diff --git a/plugins/xslt/pom.xml b/plugins/xslt/pom.xml
index f338b9c01..f234ce38f 100644
--- a/plugins/xslt/pom.xml
+++ b/plugins/xslt/pom.xml
@@ -32,6 +32,14 @@
     <name>Struts 2 XSLT Plugin</name>
 
     <dependencies>
+        <dependency>
+            <groupId>org.apache.struts</groupId>
+            <artifactId>struts2-core</artifactId>
+            <version>${project.version}</version>
+            <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-junit-plugin</artifactId>

Reply via email to