[ 
https://issues.apache.org/jira/browse/MYFACES-4741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057082#comment-18057082
 ] 

Werner Punz commented on MYFACES-4741:
--------------------------------------

There are limitations regarding the java versions

mockito 2 has java 6 and 7 as lower limit

mockito 4 java 8

mockito 5 java 11+

 

I need to take this into consideration not to break the builds

 

> 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
>            Assignee: Werner Punz
>            Priority: Major
>             Fix For: 5.0.0, 4.0.4, 4.1.3
>
>
> The Mockito version in the parent 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)

Reply via email to