Repository navigation
Add the shaded 2.0.0 artifact - #3
Merged
Merged
Conversation
Add a standalone shaded build for environments such as Jenkins that need a single JAR with third-party dependencies relocated. The shaded JAR relocates Guice, Guava, HttpClient 5, jsoup and the injection APIs under org.openid4java.shaded.*, keeps commons-logging and commons-codec external, and treats slf4j-api as provided. The Apache LICENSE and NOTICE are included in the JAR. Add a manual publish workflow for GitHub Packages and document the artifact in README, INSTALL and CHANGELOG. Verified with "mvn -f shaded/pom.xml clean package"; the artifact contains the openid4java classes, the relocated packages and the Apache LICENSE/NOTICE. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Co-Authored-By: Claude Code <noreply@anthropic.com>
Install the library in the CI build and then build the shaded artifact, so changes to the shaded POM and relocations are validated on every supported JDK. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
Summary
Add a standalone
com.amarulasolutions:openid4java-shaded:2.0.0artifactfor Jenkins plugins and other environments that need a single JAR with
relocated third-party dependencies.
org.openid4java.shaded.*.commons-loggingandcommons-codecexternal;slf4j-apiisprovided by the runtime.
workflow_dispatchworkflow to publish the shaded artifactto GitHub Packages.
Verification
mvn -f shaded/pom.xml clean packagebuilds the shaded JAR.openid4java-pluginbranchfeature/amarula-shaded-2.0.0builds and tests against the installed shaded artifact with the Jenkins
enforcer enabled (5 tests, 1 skipped).
The shaded artifact is not published yet; the publish workflow is manual.
🤖 Generated with Claude Code