Setup Java Library Repository
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
End-to-end bootstrap for a brand-new Java/Maven library repository. It collects the project’s identity and pipeline parameters once, then orchestrates six other skills in a fixed order so nothing is asked twice.
Purpose
iru-setup-java-library-repository is the top-level entry point for starting a Java/Maven library repository from
nothing. Rather than duplicating the logic of pom.xml generation, documentation scaffolding, .gitignore
setup, CI/CD workflows, changelog bootstrapping, and README generation, it gathers the shared inputs — project
identity (groupId, artifactId, base package, developer name/email/organizationUrl, license) and pipeline
parameters (integration branch, Java version, publishing server id, sign/extras profile ids, Maven settings
file) — once, and passes each downstream skill only what it needs.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
groupId, artifactId, base package, developer name/email/organizationUrl |
Yes |
Free-text project-identity fields, asked directly in plain conversation in Step 1. |
None |
License |
Yes |
Resolved once via |
None — user must choose |
Integration branch |
No |
Branch that CI treats as the integration branch, fed to |
|
Java version |
No |
Java version the CI pipeline builds against. |
|
Publishing server id |
No |
Maven Central (or equivalent) publishing server id. |
|
Extras profile id |
No |
Maven profile id for building extra artifacts (sources/javadoc jars). |
|
Sign profile id |
No |
Maven profile id for GPG-signing artifacts. |
|
Maven settings file |
No |
Settings file used by the CI workflows for authentication. |
|
Outputs
-
pom.xmland thesrc/main/java/src/main/resources/src/test/javasource folders for the base package (viairu-setup-java-library). -
A scaffolded Antora documentation site under
docs/(viairu-setup-antora). -
A root
.gitignorecovering the build tool, IDE files, and the Antora build output (viairu-setup-java-gitignore). -
develop.yml/main.yml/sync.ymlGitHub Actions workflows and the.github/scripts/sync_versions.pyscript (viairu-setup-java-github-workflows). -
A root
CHANGELOG.mdbackfilled from git/GitHub release history (viairu-setup-changelog). -
A root
README.mdwith badges, a project-status table, documentation links, and installation instructions (viairu-setup-readme). -
A final report summarizing the resolved identity/license/pipeline parameters, which files were created versus left untouched (because a downstream skill’s own approval step chose to stop), the required GitHub secrets, and an explicit warning to review every generated file before building, committing, or relying on CI.
Execution flow
Dependencies
Invokes
Each of the following is invoked via the iru-isolated-skill-executor
agent rather than a direct Skill call — every sub-skill re-derives what it needs straight from the filesystem
this orchestrator has just written to, so only a short completion summary needs to come back, keeping each
sub-skill’s own exploration/file reads out of this orchestrator’s own context:
-
Setup Java Library — Step 3, first: writes
pom.xmland the source folders, passing Step 1’s answers (groupId, artifactId, package, developer name/email/organizationUrl, license) asargskey: valuelines soiru-setup-java-librarydoesn’t ask for them again. -
Setup Antora — Step 4: scaffolds the Antora documentation site, invoked with no
argssince it derives the component name/title/version directly from thepom.xmlStep 3 just wrote. -
Setup Java Gitignore — Step 5: writes or updates the root
.gitignore, invoked with noargssince it explores the repository directly (including what Steps 3–4 just wrote). -
Setup Java GitHub Workflows — Step 6: writes the CI/CD workflows, passing Step 2’s pipeline parameters (integration branch, Java version, publishing server id, extras/sign profile ids, settings file) plus Step 1’s already-collected
groupId/artifactIdasargskey: valuelines, so that skill’s own survey doesn’t need to re-read them frompom.xml. -
Setup Changelog — Step 7: bootstraps the root
CHANGELOG.md, invoked with noargssince it works from the repository’s own git tag/GitHub Release history. -
Setup Readme — Step 8, last: bootstraps the root
README.md, invoked with noargssince it explores the finished state left by every earlier step.
Invoked by
None — iru-setup-java-library-repository is a top-level entry point; no other skill in this catalog invokes it.
Related agents
-
iru-isolated-skill-executor— spawned once per sub-skill (Steps 3–8), so all six sub-skills' own exploration/file-read transcripts don’t accumulate in this orchestrator’s context over the course of a single bootstrap run.
Source
SKILL.md on GitHub — the file this page was generated from.