[ 
https://issues.apache.org/jira/browse/SLING-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-9373.
-----------------------------------
    Resolution: Fixed

https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/58022b6a4b4b3ff87472639b5f177a2e95ccfa4b
https://github.com/apache/sling-org-apache-sling-testing-osgi-mock/commit/faf411543475084c80849a4142ffd91fdf9ac646
https://github.com/apache/sling-org-apache-sling-testing-sling-mock/commit/59b938d51e52ac23e57dc8a142abfa7da8e3fb6d

there is on *breaking change* sling-mock:
* the method 
[SlingContextImpl.registerAdapter|https://github.com/apache/sling-org-apache-sling-testing-sling-mock/blob/59b938d51e52ac23e57dc8a142abfa7da8e3fb6d/core/src/main/java/org/apache/sling/testing/mock/sling/context/SlingContextImpl.java#L510-L530]
 no expects a third parameter using {{java.util.function.Function}} instead of 
{{com.google.common.base.Function}}

> osgi-mock, jcr-mock, sling-mock: Remove compile dependency to guava
> -------------------------------------------------------------------
>
>                 Key: SLING-9373
>                 URL: https://issues.apache.org/jira/browse/SLING-9373
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Testing JCR Mock 1.4.6, Testing OSGi Mock 2.4.16, 
> Testing Sling Mock 2.4.2
>
>
> guava is used on a few places inside jcr-mock, osgi-mock, sling-mock. to 
> reduce the number of dependencies and avoid potential clash with different 
> guava versions we should replace it with native java features and commons 
> collections4.



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

Reply via email to