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

Stefan Seifert commented on SLING-8625:
---------------------------------------

if it has, they have little choice anyways as they cannot change the version 
that is bundled with sling-mock-oak as it's embedded (would it be mere 
dependencies it would be possible, but it seems there were other problems that 
led to embedding as best solution in SLING-4824 in that time.

we do a new release with this new version, people still can the old version 
with an older version of oak. although sometimes the "glue code" in 
sling-mock-oak itself improves and requires a new release.

maybe it would be a good idea to change the release number scheme for this 
module in
{noformat}
<sling-mock-oak-version>-<oak-version>
{noformat}

the next version then would be {{2.2.0-1.16.0}}.
if need arises we may release other version with other oak version embedded 
(although this would get a bit complicated with maintaining different branches).

my current assumption is that for most people it would be fine to just use the 
latest oak version in unit tests - it's only the last resort if the subject you 
want to test is not testable with the jcr-mock layer because it relies on 
advanced features.

> org.apache.sling.testing.sling-mock-oak : update oak version to 1.16.0, 
> jackrabbit version to 2.18.2
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SLING-8625
>                 URL: https://issues.apache.org/jira/browse/SLING-8625
>             Project: Sling
>          Issue Type: Task
>          Components: Testing
>            Reporter: angela
>            Priority: Major
>             Fix For: Testing Sling Mock Oak 2.1.8
>
>         Attachments: SLING-8625.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [~rombert], due to the embedding added in 
> _org.apache.sling.testing.sling-mock-oak_ with SLING-4824, it is not 
> sufficient to update the version of jackrabbit and oak in 
> _sling-jcr-repoinit_ in order to complete SLING-8602. at least i didn't 
> manage to get my test passed and debugging revealed that at some point it 
> resolves to the wrong version of oak i.e. the embedded one.
> so, unfortunately, it seems that i need an new release of 
> _org.apache.sling.testing.sling-mock-oak_. for testing purpose i am helping 
> myself with a snapshot dependencies but obviously that's not a option for the 
> final version.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to