You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2019/08/26 10:20:00 UTC

[jira] [Commented] (JCRVLT-344) update version of jackrabbit and oak dependencies

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

Konrad Windszus commented on JCRVLT-344:
----------------------------------------

[~angela] Both versions you reference (Oak 1.16 and Jackrabbit 2.18.2) require Java 8, but the compiler is still configured for Java 7 (https://github.com/apache/jackrabbit-filevault/blob/927f43c887b9f5e6c7109f87a6aa224c8c7db538/parent/pom.xml#L95). 
At least for Eclipse IDE the used JDK is derived from the compiler settings. Also if we already require Java 8 for the dependencies we could just as well use Java 8 within Filevault itself.

Also I think it would be beneficial to enforce usage of Java 8 or newer via https://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html.

> update version of jackrabbit and oak dependencies 
> --------------------------------------------------
>
>                 Key: JCRVLT-344
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-344
>             Project: Jackrabbit FileVault
>          Issue Type: Task
>          Components: Misc, vlt
>            Reporter: angela
>            Assignee: angela
>            Priority: Major
>             Fix For: 3.2.10
>
>         Attachments: JCRVLT-344.patch
>
>
> in order to address JCRVLT-340 the version properties of jackrabbit and oak need to be adjusted to use the most recent releases:
> <jackrabbit.version>2.18.2</jackrabbit.version>
>  <oak.version>1.16.0</oak.version>
> since there some significant moves made in the code base the following additional changes need to follow:
>  * adjust dependency _oak-segment_ to _oak-segment-tar_ (the former no longer exist)
>  - subsequently adjust the changed package names (o.a.jackrabbit.oak.plugins.segment.... to o.a.jackrabbit.segment....)
>  - adjust dependency _jackrabbit-api_ to use _oak-jackrabbit-api_ as jackrabbit-api will no longer be maintained



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