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

Test Java Driver QueryBuilder private build, 4.19.0-preview1 #1615

Merged
merged 15 commits into from
Oct 30, 2024

Conversation

Yuqi-Du
Copy link
Contributor

@Yuqi-Du Yuqi-Du commented Oct 29, 2024

The previous PR for checking in the private java Driver 4.19.0-preview1 uses 'systemPath' to reference the jar. That is fine for Data API, however, it causes install problem to EGW which uses Data API as a jar. And it complains.
[ERROR] 'dependencies.dependency.systemPath' for com.datastax.oss:java-driver-query-builder:jar must specify an absolute path but is ${project.basedir}/lib/java-driver-query-builder-4.19.0-preview1.jar @

So, we still need to check in the Driver jar into Data API repo, but can not use . So I changed in Data API pom to search Driver queryBuilder in local repository. In this way, we can have a walk around.

Also, tested in EGW, it can be successfully built with Data API v1.0.19-SNAPSHOT now.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@Yuqi-Du Yuqi-Du requested a review from a team as a code owner October 29, 2024 00:02
@tatu-at-datastax
Copy link
Contributor

I think this is failing due to missing .sha1 files for checksums. So, basically if there is:

jackson-core-2.18.0.jar

there needs to be matching

jackson-core-2.18.0.jar.sha1 

(and same for .pom files)

@@ -79,6 +79,14 @@
</dependency>
</dependencies>
</dependencyManagement>
<!-- Add local repository for private java driver queryBuilder build to avoid using systemPath in dependency-->
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can we include a link to an issue in our repo or the java driver that explains what we are waiting on, and how we can checked if the work has been done. We need the issue to stay open until we revert this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added tacker issue

Copy link
Contributor

@amorton amorton left a comment

Choose a reason for hiding this comment

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

approved - but please add comment with link to tracking issue , see comment

@Yuqi-Du Yuqi-Du merged commit 37d1bb7 into main Oct 30, 2024
3 checks passed
@Yuqi-Du Yuqi-Du deleted the driver-querybuilder-private-build-test branch October 30, 2024 16:32
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.

3 participants