Skip to content

Add skills-jar-maven-plugin to build configuration - #12

Merged
shannah merged 5 commits into
mainfrom
claude/add-skills-jar-plugin-D1A3Q
Apr 10, 2026
Merged

shannah merged 5 commits into
mainfrom
claude/add-skills-jar-plugin-D1A3Q

Conversation

@shannah

@shannah shannah commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds the skills-jar-maven-plugin to the Maven build configuration, enabling automated JAR packaging with skills metadata.

Key Changes

  • Added GitHub plugin repository configuration to resolve the skills-jar-maven-plugin dependency
  • Integrated skills-jar-plugin (v0.1.0) into the build lifecycle
  • Configured the plugin to execute during the package phase with the package goal
  • Set inherited>false to prevent the plugin from being inherited by child modules

Implementation Details

  • The plugin repository points to https://maven.pkg.github.com/webliteca/skills-jar-maven-plugin
  • Plugin execution is bound to the package phase, ensuring it runs as part of the standard Maven build
  • The non-inherited configuration ensures this plugin only applies to the current project, not to any child modules that may inherit from this POM

https://claude.ai/code/session_0172wqpFrZND6awWEfCg9Miq

claude and others added 5 commits April 10, 2026 16:01
Adds the ca.weblite:skills-jar-plugin:0.1.0 to the parent POM so that
`mvn package` produces a -skills.jar artifact alongside the library JARs.
The existing skills/teavm-lambda/ directory is automatically detected.

https://claude.ai/code/session_0172wqpFrZND6awWEfCg9Miq
- Update skills-jar-plugin from 0.1.0 to 0.1.1
- Add skillDirectory config pointing to skills/teavm-lambda
- Configure PACKAGES_READ_TOKEN secret in CI build step for
  GitHub Packages authentication

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The skills-jar-plugin requires GitHub Packages auth to resolve. Moving
it and its pluginRepository into a 'skills-jar' profile prevents Docker
builds (which lack auth) from failing. The CI build job activates the
profile explicitly with -P skills-jar.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Ensures the skills JAR is built and deployed alongside library artifacts
when publishing to GitHub Packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Documents how to install the teavm-lambda skill from GitHub Packages
(via skills JAR) or from source, for both project-level and user-level
use. Also documents how to build the skill JAR locally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shannah
shannah merged commit 65ba715 into main Apr 10, 2026
12 checks passed
@shannah
shannah deleted the claude/add-skills-jar-plugin-D1A3Q branch April 10, 2026 17:14
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.

2 participants