Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLING-11621: Update JCR dependencies #39

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

reschke
Copy link
Contributor

@reschke reschke commented Oct 17, 2022

No description provided.

@reschke reschke marked this pull request as draft October 17, 2022 14:39
pom.xml Outdated
@@ -36,8 +36,8 @@
</description>

<properties>
<jackrabbit.version>2.18.2</jackrabbit.version>
<oak.version>1.22.1</oak.version>
<jackrabbit.version>2.20.6</jackrabbit.version>
Copy link
Member

@kwin kwin Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AEM 6.5(.15) is still on 2.20.4, but if it is semantically versioned that shouldn't matter....

Copy link
Member

@kwin kwin Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reschke Please don't resolve without commenting or fixing. Why should we depend at compile time on a newer version than at run time? This IMHO calls for trouble. In general the policy of Sling is stated in https://cwiki.apache.org/confluence/display/SLING/Dependabot.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that comment was actionable.

@reschke reschke marked this pull request as ready for review December 15, 2022 13:04
@kwin
Copy link
Member

kwin commented Dec 15, 2022

@reschke the build fails now due to a missing dependency (was probably transitively inherited before).

@reschke reschke marked this pull request as draft December 15, 2022 14:18
@reschke reschke marked this pull request as ready for review December 15, 2022 14:50
@reschke
Copy link
Contributor Author

reschke commented Dec 15, 2022

Dependencies should be complete and correct now. Sorry for the inconvenience.

I still have test failures, but those occur on master as well and are likely platform dependant. Will investigate.

EDIT: see https://issues.apache.org/jira/browse/SLING-11737

Copy link
Member

@kwin kwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This introduces IT test failures with pax-exam.

SLING-11737: jcr-repoinit - fix test failures on Windows (apache#42)
@reschke
Copy link
Contributor Author

reschke commented Jan 11, 2023

Ok, will have a look.

@reschke reschke marked this pull request as draft January 11, 2023 09:10
@reschke
Copy link
Contributor Author

reschke commented Jan 11, 2023

The issue seems to be caused by those ITs trying to bind to jackrabbit artefacts (like rmi) that are not present with the version number being asked for. I assume these come in somehow as transitive dependencies, but I haven't figured out yet, how.

It probably would be better to first upgrade the testing dependencies to current Jackrabbit/Oak versions so we don't have to worry about these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants