Skip to content

Comments

SK-2527: update libraries for Java v2 SDK#275

Merged
skyflow-himanshu merged 3 commits intorelease/26.2.2from
himanshu/SK-2527-update-libraries-for-java-sdk
Feb 11, 2026
Merged

SK-2527: update libraries for Java v2 SDK#275
skyflow-himanshu merged 3 commits intorelease/26.2.2from
himanshu/SK-2527-update-libraries-for-java-sdk

Conversation

@skyflow-himanshu
Copy link
Collaborator

@skyflow-himanshu skyflow-himanshu commented Feb 9, 2026

Why:
Update libraries for Java v2 SDK

Goal:
Removed powermock-module-junit4 and added mockito-core v4.11.0 to support Java 8.
Updated central-publishing-maven-plugin (0.4.0 to 0.10.0).
Updated jacoco-maven-plugin (0.8.7 to 0.8.14), as 0.8.15 is not yet stable.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates test tooling and build plugins to support the Java v2 SDK library refresh (removing PowerMock usage and modernizing Maven plugins).

Changes:

  • Replaced PowerMock runner/annotations with MockitoJUnitRunner in HttpUtilityTests.
  • Removed PowerMock test dependencies and added mockito-core test dependency.
  • Bumped JaCoCo and Central Publishing Maven plugin versions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/test/java/com/skyflow/utils/HttpUtilityTests.java Migrates tests off PowerMock to Mockito’s JUnit4 runner and adjusts call sites accordingly.
pom.xml Updates test dependencies (PowerMock → Mockito) and upgrades Maven plugin versions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions
Copy link

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@skyflow-himanshu skyflow-himanshu changed the base branch from main to release/26.2.2 February 11, 2026 08:41
@skyflow-himanshu skyflow-himanshu merged commit 2d15926 into release/26.2.2 Feb 11, 2026
5 of 6 checks passed
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