You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/05/03 02:55:00 UTC

[jira] [Commented] (FINERACT-884) Upgrade rest-assured to latest version (later than 3.3.0. from Spring Boot BOM), which requires Java 11/9+

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

Michael Vorburger commented on FINERACT-884:
--------------------------------------------

I can't remember how exactly we concluded that REST Assured >= 3.3.0 requires Java 11/9+ but it seems to be wrong - it should be possible to upgrade to 4.3.0 on Java 8, given that https://github.com/rest-assured/rest-assured/wiki/ReleaseNotes40 states "now requires at least Java 8 (previous Java 6 was required)".

Because RestAssured's v3.3.0 JARs include classpath duplicates found by FINERACT-919, and I've found that this was fixed by them in 4.3.0, I've attempted this upgrade in https://github.com/apache/fineract/compare/develop...vorburger:FINERACT-884_bump-upgrade-RestAssured, but hit {{java.lang.AbstractMethodError: io.restassured.internal.RequestSpecificationImpl.invokeMethod(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;}}.

It's therefore probably simpler if we just stick to the version we inherit from the Spring BOM, à la FINERACT-805, and just don't do this, and wait for and follow Spring... I will work around (suppress, ignore; hard-coded) {{rest-assured}} in FINERACT-919, for now.

I'm keeping this issue open and assigned to myself to remember that, whenever we will have updated Spring (BOM), I can remove that exclusion in {{ClasspathHellDuplicatesChecker}}'s {{skipJAR()}} again.

> Upgrade rest-assured to latest version (later than 3.3.0. from Spring Boot BOM), which requires Java 11/9+
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-884
>                 URL: https://issues.apache.org/jira/browse/FINERACT-884
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Michael Vorburger
>            Priority: Major
>
> This is a follow-up to FINERACT-809 to upgrade rest-assured again, after FINERACT-846.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)