[
https://issues.apache.org/jira/browse/WW-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864019#comment-17864019
]
Lukasz Lenart commented on WW-5438:
-----------------------------------
[~jviebig] could you review the PR?
> 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: 20m
> 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)