Skip to content

Add the shaded 2.0.0 artifact - #3

Merged
panicking merged 2 commits into
masterfrom
feature/openid4java-shaded
Nov 21, 2026
Merged

panicking merged 2 commits into
masterfrom
feature/openid4java-shaded

Conversation

@panicking

Copy link
Copy Markdown

Summary

Add a standalone com.amarulasolutions:openid4java-shaded:2.0.0 artifact
for Jenkins plugins and other environments that need a single JAR with
relocated third-party dependencies.

  • Relocates Guice, Guava, HttpClient 5, jsoup and the injection APIs under
    org.openid4java.shaded.*.
  • Keeps commons-logging and commons-codec external; slf4j-api is
    provided by the runtime.
  • Includes the Apache LICENSE and NOTICE in the JAR.
  • Adds a manual workflow_dispatch workflow to publish the shaded artifact
    to GitHub Packages.

Verification

  • mvn -f shaded/pom.xml clean package builds the shaded JAR.
  • The Jenkins openid4java-plugin branch feature/amarula-shaded-2.0.0
    builds 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

panicking and others added 2 commits November 21, 2026 22:56
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>
@panicking
panicking merged commit 5b12a71 into master Nov 21, 2026
3 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.

1 participant