Conversation
Downgrade the compiler target and all dependencies that required Java 17+ so the SDK can be consumed by projects still on Java 11. Key changes: - Jackson 3.x (tools.jackson) -> Jackson 2.x (com.fasterxml.jackson) - Caffeine 3.2 -> 3.1, Micrometer 1.17 -> 1.13 - JUnit 6 -> 5, Testcontainers 2 -> 1 - Convert 22 records to regular classes - Remove sealed/permits from 5 class hierarchies - Replace String.formatted(), Stream.toList(), HexFormat, switch expressions, pattern-matching instanceof, and text blocks with Java 11-compatible equivalents - Add jackson-datatype-jsr310 for ZonedDateTime support - CI matrix now includes Java 11
Rebrand from land.oras:oras-java-sdk to io.roastedroot:oras-java for publishing the Java 11 fork from the roastedroot organization. - Maven coordinates: io.roastedroot:oras-java:999-SNAPSHOT - Java packages remain land.oras.* for easy upstream/fork switching - Release workflow based on lumis4j (versions:set + central-publishing) - Simplified profiles: removed sigstore, spdx, maven-release-plugin - Removed distributionManagement (central-publishing handles it) - NOTICE file with Apache 2.0 attribution to original ORAS project - README rewritten with fork notice, new coordinates, attribution - Deleted upstream-specific workflows (scorecard, updatecli, snapshots)
Spotless Maven Plugin 3.9.0 requires Java 17 to run. Move spotless from default plugins to a JDK 17+ activated profile so Maven does not attempt to load the plugin class on Java 11.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Testing done
Submitter checklist
mvn license:update-file-header,mvn spotless:apply,pre-commit run -a,mvn clean installbefore opening the PR