[jira] [Comment Edited] (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=18023520#comment-18023520
]
Konrad Windszus edited comment on JCRVLT-821 at 9/29/25 9:58 AM:
-
Looks like the maximum distribution we are testing against (in
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/target-osgi-environment/max-target-osgi-environment/pom.xml#L131)
does not provide the necessary version of commons-collections.
was (Author: kwin):
Looks like the minimum distribution we are testing against (in
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/target-osgi-environment/min-target-osgi-environment/pom.xml#L126)
does not provide the necessary version of commons-collections.
> 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
>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 <>: 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.
>
> 2.20.17
>
> -2.22.1
> +2.22.2
>
> 1.22.4
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[jira] [Comment Edited] (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=18023774#comment-18023774
]
Konrad Windszus edited comment on JCRVLT-821 at 9/30/25 11:05 AM:
--
The question really boils down to which baseline should be supported. Commons
Collections 4.5 is pretty recent. I am fine with requiring that, but for
example AEM 6.5.23 and AEM 6.5 LTS is not yet coming with it. OTOH AEM 6.5 LTS
SP1 and AEMaaCS ship with it.
was (Author: kwin):
The question really boils down to which baseline should be supported. Commons
Collections 4.5 is pretty recent. I am fine with requiring that, but for
example AEM 6.5 (LTS) is not yet coming with it.
> 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
>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 <>: 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.
>
> 2.20.17
>
> -2.22.1
> +2.22.2
>
> 1.22.4
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[jira] [Comment Edited] (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=18023521#comment-18023521
]
Julian Reschke edited comment on JCRVLT-821 at 9/29/25 9:29 AM:
Build fails in core:
{code}
[INFO] Resolving
C:\projects\apache\jackrabbit-filevault\vault-core\max-target.bndrun:
[INFO] Bnd inferred -runrequires:
osgi.identity;filter:='(osgi.identity=org.apache.jackrabbit.vault)'
[ERROR] Resolution failed. Capabilities satisfying the following requirements
could not be found:
[<>]
? osgi.identity: (osgi.identity=org.apache.jackrabbit.vault)
? [org.apache.jackrabbit.vault version=4.0.1.SNAPSHOT]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.spi.commons.conversion)(version>=2.5.0)(!(version>=3.0.0)))
? [org.apache.jackrabbit.jackrabbit-spi-commons
version=2.22.2]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.commons.collections4)(version>=4.5.0)(!(version>=5.0.0)))
The following requirements are optional:
[org.apache.jackrabbit.jackrabbit-jcr-commons version=2.22.2]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.stats)(version>=1.2.0)(!(version>=2.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api)(version>=2.8.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.observation)(version>=2.3.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.jmx)(version>=2.3.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.security)(version>=2.4.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.security.principal)(version>=2.4.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.security.user)(version>=2.2.0)(!(version>=3.0.0)))
[org.apache.commons.commons-io version=2.11.0]
? osgi.wiring.package: (osgi.wiring.package=sun.nio.ch)
[org.apache.jackrabbit.vault version=4.0.1.SNAPSHOT]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.sling.jcr.api)(version>=2.0.0)(!(version>=3.0.0)))
? osgi.wiring.package: (osgi.wiring.package=org.apache.jackrabbit.spi2dav)
{code}
and
{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 <>: 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']]
{code}
was (Author: reschke):
Build fails in core:
{code}
[INFO] Resolving
C:\projects\apache\jackrabbit-filevault\vault-core\max-target.bndrun:
[INFO] Bnd inferred -runrequires:
osgi.identity;filter:='(osgi.identity=org.apache.jackrabbit.vault)'
[ERROR] Resolution failed. Capabilities satisfying the following requirements
could not be found:
[<>]
? osgi.identity: (osgi.identity=org.apache.jackrabbit.vault)
? [org.apache.jackrabbit.vault version=4.0.1.SNAPSHOT]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.spi.commons.conversion)(version>=2.5.0)(!(version>=3.0.0)))
? [org.apache.jackrabbit.jackrabbit-spi-commons
version=2.22.2]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.commons.collections4)(version>=4.5.0)(!(version>=5.0.0)))
The following requirements are optional:
[org.apache.jackrabbit.jackrabbit-jcr-commons version=2.22.2]
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.stats)(version>=1.2.0)(!(version>=2.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api)(version>=2.8.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.observation)(version>=2.3.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.jmx)(version>=2.3.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.api.security)(version>=2.4.0)(!(version>=3.0.0)))
? osgi.wiring.package:
(&(osgi.wiring.package=org.apache.jackrabbit.ap
[jira] [Comment Edited] (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=18024225#comment-18024225
]
Konrad Windszus edited comment on JCRVLT-821 at 10/2/25 7:39 AM:
-
{quote}So max.version is only used in tests, plus in vault-cli. Is that the
problem?{quote}
No, it is also used for embedded classes in the vault-core bundle (see
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/vault-core/bnd.bnd#L20,
and
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/parent/pom.xml#L454-L464).
That leads to the transitive dependency and requirement at runtime.
bq. I do not quite understand how changes for VLT 4.x are relevant or AEM 6.5
The idea was to make it as backwards-compatible as possible, i.e. that
customers can also deploy on AEM 6.5 if they want to. But as said before if all
others say raising the requirements is fine, I am ok with that too.
was (Author: kwin):
{quote}So max.version is only used in tests, plus in vault-cli. Is that the
problem?{quote}
No, it is also used for embedded classes in the vault-core bundle (see
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/vault-core/bnd.bnd#L20,
and
https://github.com/apache/jackrabbit-filevault/blob/4806680419c3b403c2a7ce8c46708eaa96a48e92/parent/pom.xml#L454-L464).
That leads to the transitive dependency and requirement at runtime.
> 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 <>: 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.
>
> 2.20.17
>
> -2.22.1
> +2.22.2
>
> 1.22.4
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[jira] [Comment Edited] (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=18024213#comment-18024213
]
Julian Reschke edited comment on JCRVLT-821 at 10/2/25 5:01 AM:
I still don't get it fully.
{code}
$ ack --xml jackrabbit.max.version
parent/pom.xml
56:2.22.2
458:${jackrabbit.max.version}
463:${jackrabbit.max.version}
468:${jackrabbit.max.version}
target-osgi-environment/max-target-osgi-environment/pom.xml
168:${jackrabbit.max.version}
174:${jackrabbit.max.version}
180:${jackrabbit.max.version}
vault-cli/pom.xml
42:
${jackrabbit.max.version}
{code}
So max.version is only used in tests, plus in vault-cli. Is that the problem?
was (Author: reschke):
I still don't get it fully.
{code}
t$ ack --xml jackrabbit.max.version
parent/pom.xml
56:2.22.2
458:${jackrabbit.max.version}
463:${jackrabbit.max.version}
468:${jackrabbit.max.version}
target-osgi-environment/max-target-osgi-environment/pom.xml
168:${jackrabbit.max.version}
174:${jackrabbit.max.version}
180:${jackrabbit.max.version}
vault-cli/pom.xml
42:
${jackrabbit.max.version}
{code}
So max.version is only used in tests, plus in vault-cli. Is that the 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 <>: 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.
>
> 2.20.17
>
> -2.22.1
> +2.22.2
>
> 1.22.4
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
[jira] [Comment Edited] (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=18024213#comment-18024213
]
Julian Reschke edited comment on JCRVLT-821 at 10/2/25 5:15 AM:
I still don't get it fully.
{code}
$ ack --xml jackrabbit.max.version
parent/pom.xml
56:2.22.2
458:${jackrabbit.max.version}
463:${jackrabbit.max.version}
468:${jackrabbit.max.version}
target-osgi-environment/max-target-osgi-environment/pom.xml
168:${jackrabbit.max.version}
174:${jackrabbit.max.version}
180:${jackrabbit.max.version}
vault-cli/pom.xml
42:
${jackrabbit.max.version}
{code}
So max.version is only used in tests, plus in vault-cli. Is that the problem?
Also, I do not quite understand how changes for VLT 4.x are relevant or AEM 6.5
when that is still using an ancient version of VLT anyway,
was (Author: reschke):
I still don't get it fully.
{code}
$ ack --xml jackrabbit.max.version
parent/pom.xml
56:2.22.2
458:${jackrabbit.max.version}
463:${jackrabbit.max.version}
468:${jackrabbit.max.version}
target-osgi-environment/max-target-osgi-environment/pom.xml
168:${jackrabbit.max.version}
174:${jackrabbit.max.version}
180:${jackrabbit.max.version}
vault-cli/pom.xml
42:
${jackrabbit.max.version}
{code}
So max.version is only used in tests, plus in vault-cli. Is that the 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 <>: 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.
>
> 2.20.17
>
> -2.22.1
> +2.22.2
>
> 1.22.4
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
