You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Jira)" <de...@myfaces.apache.org> on 2026/02/07 18:18:00 UTC
[jira] [Commented] (MYFACES-4741) Mockito Version in root pom is outdated
[ https://issues.apache.org/jira/browse/MYFACES-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057079#comment-18057079 ]
Werner Punz commented on MYFACES-4741:
--------------------------------------
Mockito is only present in 4.0+ upwards so I will update the branches accordingly!
> Mockito Version in root pom is outdated
> ---------------------------------------
>
> Key: MYFACES-4741
> URL: https://issues.apache.org/jira/browse/MYFACES-4741
> Project: MyFaces Core
> Issue Type: Improvement
> Reporter: Werner Punz
> Priority: Major
>
> The Mockito version in the root pom is outdated, this also prevents that static mocks can be activated which are vital to make utils classes and static methods calling static methods testable. At least in 4.0 a preliminary prototype test I wrote for MYFACES-4737 showed that upgrading to the latest versions and adding the static mock support does not break the build (we are talking about test dependencies here)!
> So what is the goal for this issue?
> Upgrade the mockito dependencies and add the static mock dependencies in all branches where it still is possible!
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)