[ https://issues.apache.org/jira/browse/WW-5438?focusedWorklogId=924963&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-924963 ]
ASF GitHub Bot logged work on WW-5438: -------------------------------------- Author: ASF GitHub Bot Created on: 09/Jul/24 06:11 Start Date: 09/Jul/24 06:11 Worklog Time Spent: 10m Work Description: sonarcloud[bot] commented on PR #984: URL: https://github.com/apache/struts/pull/984#issuecomment-2216657076 ## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=984) **Quality Gate passed** Issues  [0 New issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=984&resolved=false&sinceLeakPeriod=true)  [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=984&resolutions=WONTFIX) Measures  [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=984&resolved=false&sinceLeakPeriod=true)  [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=984&metric=new_coverage&view=list)  [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=984&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=984) Issue Time Tracking ------------------- Worklog Id: (was: 924963) Time Spent: 0.5h (was: 20m) > Wrong scope on weld dependencies > -------------------------------- > > Key: WW-5438 > URL: https://issues.apache.org/jira/browse/WW-5438 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - CDI > Affects Versions: 7.0.0 > Reporter: Jens Viebig > Priority: Major > Fix For: 7.0.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > We started to migrate our application to jakartaee10 with the M7 build and > all is going quite well so far. > One thing we came across is the removal of the "provided" and "test" scope > from the weld dependencies in the pom of the struts-cdi-plugin. By default, > this now adds a lot of weld and jakartaee standards dependencies to the > WEB-INF/lib directory which are normally provided by the application server. > For now we worked around this by adding exclusions to the weld dependencies > but wondering: > Was the removal of the scopes intentional ? > This is the commit where the scopes were removed: > [https://github.com/apache/struts/commit/8fecaa2c3008ec6a9f9653b991e017caa84423ed] -- This message was sent by Atlassian Jira (v8.20.10#820010)