Skip to content

(fix) external policy JAR packaging and add discovery debug logging#68

Merged
nknize merged 1 commit intomainfrom
fix/extPolicyJarPkg
Jan 30, 2026
Merged

(fix) external policy JAR packaging and add discovery debug logging#68
nknize merged 1 commit intomainfrom
fix/extPolicyJarPkg

Conversation

@nknize
Copy link
Contributor

@nknize nknize commented Jan 30, 2026

Description

Gradle plugin:

  • Register both embedded and external policy tasks in sourceSets builtBy
  • Add explicit jar.from() for external policies to handle custom JAR configs
  • Ensures external policies at META-INF/jguard/external/*.bin are packaged

Agent:

  • Add DEBUG-level logging for policy discovery from JARs and directories
  • Logs which JARs contain policies, external entries found, and final module list
  • Helps diagnose policy discovery issues (enabled via -Djguard.log.level=debug)

Gradle plugin:
- Register both embedded and external policy tasks in sourceSets builtBy
- Add explicit jar.from() for external policies to handle custom JAR configs
- Ensures external policies at META-INF/jguard/external/*.bin are packaged

Agent:
- Add DEBUG-level logging for policy discovery from JARs and directories
- Logs which JARs contain policies, external entries found, and final module list
- Helps diagnose policy discovery issues (enabled via -Djguard.log.level=debug)

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
@nknize nknize merged commit 780d064 into main Jan 30, 2026
8 checks passed
@nknize nknize deleted the fix/extPolicyJarPkg branch January 30, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant