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 2026/10/12 14:07:00 UTC
[jira] [Commented] (JCRVLT-821) Update of Jackrabbit (max) to Jackrabbit 2.22.2 fails
[ https://issues.apache.org/jira/browse/JCRVLT-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126353#comment-18126353 ]
Konrad Windszus commented on JCRVLT-821:
----------------------------------------
The OSGi resolver tests have been upgraded in JCRVLT-816. Still bumping the maximum JR2 version to 2.22.2+ raises the runtime requirements of FileVault as well to Commons Collections 4.5 (used to be 4.1). However I no longer consider this to be a problem.
> Update of Jackrabbit (max) to Jackrabbit 2.22.2 fails
> -----------------------------------------------------
>
> Key: JCRVLT-821
> URL: https://issues.apache.org/jira/browse/JCRVLT-821
> Project: Jackrabbit FileVault
> Issue Type: Task
> Components: vlt
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
>
> Trying to update:
> jackrabbit.max.version
> to 2.22.2 breaks testing:
> {code}
> [ERROR] Failed to execute goal biz.aQute.bnd:bnd-resolver-maven-plugin:6.4.0:resolve (default) on project org.apache.jackrabbit.vault: Unable to resolve <<INITIAL>>: missing requirement osgi.identity;filter:='(osgi.identity=org.apache.jackrabbit.vault)' [caused by: Unable to resolve org.apache.jackrabbit.vault version=4.0.1.SNAPSHOT: missing requirement osgi.wiring.package;filter:='(&(osgi.wiring.package=org.apache.jackrabbit.spi.commons.conversion)(version>=2.5.0)(!(version>=3.0.0)))';osgi.wiring.package='org.apache.jackrabbit.spi.commons.conversion' [caused by: Unable to resolve org.apache.jackrabbit.jackrabbit-spi-commons version=2.22.2: missing requirement osgi.wiring.package;filter:='(&(osgi.wiring.package=org.apache.commons.collections4)(version>=4.5.0)(!(version>=5.0.0)))';osgi.wiring.package='org.apache.commons.collections4']] -> [Help 1]
> {code}
> Testing with:
> {code}
> $ git diff
> diff --git a/parent/pom.xml b/parent/pom.xml
> index d4733db1..bee689f5 100644
> --- a/parent/pom.xml
> +++ b/parent/pom.xml
> @@ -53,7 +53,7 @@ Apache Jackrabbit FileVault is a project of the Apache Software Foundation.
> <!-- for dependencies used for calculating OSGi import-package version ranges the minimally supported version should be used to be backwards compatible in OSGi containers -->
> <jackrabbit.min.version>2.20.17</jackrabbit.min.version>
> <!-- for embedded dependencies the newest version should be used -->
> - <jackrabbit.max.version>2.22.1</jackrabbit.max.version>
> + <jackrabbit.max.version>2.22.2</jackrabbit.max.version>
> <!-- for dependencies used for calculating OSGi import-package version ranges the minimally supported version should be used to be backwards compatible in OSGi containers -->
> <oak.min.version>1.22.4</oak.min.version>
> <!-- for embedded dependencies the newest version should be used -->
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)