Skip to content

Fix incomplete upgrade of commons-lang3#2073

Merged
jbonofre merged 1 commit into
apache:mainfrom
holgerfriedrich:pr-commons-lang3
Sep 30, 2025
Merged

Fix incomplete upgrade of commons-lang3#2073
jbonofre merged 1 commit into
apache:mainfrom
holgerfriedrich:pr-commons-lang3

Conversation

@holgerfriedrich
Copy link
Copy Markdown
Contributor

@holgerfriedrich holgerfriedrich commented Sep 29, 2025

This is required to get the use-base-version test in karaf-maven-plugin pass.
I don't know why the CI passed at that time.

This is the error the PR is fixing:

[INFO]   junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected text value 'mvn:org.apache.commons/commons-lang3/3.4' but was 'mvn:org.apache.commons/commons-lang3/3.18.0' - comparing <bundle ...>mvn:org.apache.commons/commons-lang3/3.4</bundle> at /features[1]/feature[1]/bundle[1]/text()[1] to <bundle ...>mvn:org.apache.commons/commons-lang3/3.18.0</bundle> at /features[1]/feature[1]/bundle[1]/text()[1]

To see that this is the root cause, one needs to remove the try-catch blocks from the tests.
Then the tests print the exception when failing.
I will create another PR for this.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@jbonofre jbonofre self-requested a review September 30, 2025 05:55
@jbonofre
Copy link
Copy Markdown
Member

Good catch. We actually have a problem on GitHub Action: it executes the tests, but not the itests. I'm fixing that in a separate PR.

@jbonofre jbonofre merged commit c677eb4 into apache:main Sep 30, 2025
1 check passed
jbonofre pushed a commit to jbonofre/karaf that referenced this pull request Sep 30, 2025
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich holgerfriedrich deleted the pr-commons-lang3 branch September 30, 2025 16:29
jbonofre added a commit that referenced this pull request Oct 5, 2025
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
MrEasy pushed a commit to seeburger-ag/karaf that referenced this pull request Nov 10, 2025
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Co-authored-by: Holger Friedrich <mail@holger-friedrich.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants