This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch WW-5735-jasperreports-provided in repository https://gitbox.apache.org/repos/asf/struts.git
commit 08191ef3575b14adb93d0effc977e3fa6e9d7ad4 Author: Lukasz Lenart <[email protected]> AuthorDate: Sat Sep 12 15:37:10 2026 +0200 WW-5735 build(jasperreports7): declare jasperreports as provided The plugin declared net.sf.jasperreports:jasperreports at compile scope, so the assembly's runtime dependency set shipped jasperreports-7.0.7.jar in struts-*-lib.zip and struts-*-all.zip since 7.1.0, and every Maven consumer of the plugin pulled it transitively. JasperReports is LGPL, which may not be included in an Apache product; the 6.x plugin has always declared the same dependency as provided for this reason. Applications add net.sf.jasperreports:jasperreports (and jasperreports-pdf for PDF output) themselves, as with the 6.x plugin. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> --- plugins/jasperreports7/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/jasperreports7/pom.xml b/plugins/jasperreports7/pom.xml index 00017e256..a15849384 100644 --- a/plugins/jasperreports7/pom.xml +++ b/plugins/jasperreports7/pom.xml @@ -42,6 +42,7 @@ <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>${jasperreports7.version}</version> + <scope>provided</scope> <exclusions> <!-- not necessary to compile and it force dependency convergence issues --> <exclusion>
