Copilot commented on code in PR #1796:
URL: https://github.com/apache/struts/pull/1796#discussion_r3614301444
##########
plugins/cdi/pom.xml:
##########
@@ -39,6 +39,13 @@
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-api</artifactId>
+ <version>6.0.Final</version>
+ <scope>provided</scope>
+ </dependency>
Review Comment:
The new provided-scoped `weld-api` dependency is pinned to `6.0.Final` while
the rest of the project (and this module’s Weld test dependencies) use
`${weld.version}` (currently `6.0.4.Final`). Mixing Weld API/impl versions can
lead to linkage errors at runtime/tests; it’s safer to align the API artifact
to the same version property used elsewhere.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]