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 3e7fe2d23d3161b3065e38d5d8feb0479b1f874a
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Jul 23 16:47:53 2026 +0200

    WW-5462 build(core): attach test-jar with the mock package
---
 core/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/core/pom.xml b/core/pom.xml
index 6509b6a42..6fdfabfce 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -66,6 +66,24 @@
                     </excludes>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>mock-test-jar</id>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                        <configuration>
+                            <archive combine.self="override"/>
+                            <includes>
+                                <include>org/apache/struts2/mock/**</include>
+                            </includes>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>com.cj.jshintmojo</groupId>
                 <artifactId>jshint-maven-plugin</artifactId>

Reply via email to