[
https://issues.apache.org/jira/browse/WW-5735?focusedWorklogId=1041125&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1041125
]
ASF GitHub Bot logged work on WW-5735:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Sep/26 13:46
Start Date: 12/Sep/26 13:46
Worklog Time Spent: 10m
Work Description: sonarqubecloud[bot] commented on PR #1926:
URL: https://github.com/apache/struts/pull/1926#issuecomment-5646268105
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1926)
**Quality Gate passed**
Issues
 [0 New
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1926&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0 Accepted
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1926&issueStatuses=ACCEPTED)
Measures
 [0 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1926&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
 [0.0% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1926&metric=new_coverage&view=list)
 [0.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1926&metric=new_duplicated_lines_density&view=list)
<!
Issue Time Tracking
-------------------
Worklog Id: (was: 1041125)
Time Spent: 20m (was: 10m)
> JasperReports 7 plugin bundles the LGPL jasperreports jar into the release
> distribution
> ---------------------------------------------------------------------------------------
>
> Key: WW-5735
> URL: https://issues.apache.org/jira/browse/WW-5735
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - JasperReports
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Trivial
> Fix For: 7.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{plugins/jasperreports7/pom.xml}} declares
> {{net.sf.jasperreports:jasperreports}} as a plain compile-scope, non-optional
> dependency. The 6.x {{struts2-jasperreports-plugin}} has always declared it
> {{provided}}, precisely so that the LGPL library is never part of an Apache
> Struts distribution — users add it to their own application.
> Because the assembly collects the runtime dependency set of every plugin, the
> jar is now shipped: {{struts-7.3.0-lib.zip}} on {{archive.apache.org}}
> contains {{struts-7.3.0/lib/jasperreports-7.0.7.jar}} (3.8 MB), and
> {{LICENSE.txt}} / {{NOTICE.txt}} do not mention it. The same applies to
> {{struts-7.3.0-all.zip}} and to every release since the plugin was introduced
> in 7.1.0. Users depending on {{struts2-jasperreports7-plugin}} from Maven
> also pull the LGPL jar transitively by default.
> JasperReports is LGPL, which is ASF Category X and may not be included in an
> Apache product.
> Fix: declare {{jasperreports}} with {{<scope>provided</scope>}}, matching the
> 6.x plugin. Applications using the plugin must then add
> {{net.sf.jasperreports:jasperreports}} (and {{jasperreports-pdf}} for PDF
> output, which is already optional) themselves; the plugin documentation page
> should say so. Verify afterwards that the assembly's {{lib/}} no longer
> contains any {{net.sf.jasperreports}} artifact.
> This is a licensing and distribution issue, not a security vulnerability.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)