github · GitHub Actions Docs
Actions Publishing Java packages with Maven - GitHub Docs
A tutorial on configuring a GitHub Actions workflow to automate the publishing of Java packages to GitHub Packages using Maven.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Publishing Java packages with Maven - GitHub Docs
A tutorial on configuring a GitHub Actions workflow to automate the publishing of Java packages to GitHub Packages using Maven.
When To Use
Use when you need to automate the build and distribution of Java artifacts to GitHub Packages using a Maven-based GitHub Actions workflow.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-publish-packages-java-with-maven-publishing-github-docs-workflow-guide.md | A tutorial guide for using GitHub Actions and Maven to publish Java packages. | Questions about a tutorial guide for using GitHub Actions and Maven to publish Java packages. |
examples/actions-publish-packages-java-with-maven-publishing-github-docs-github-a.text | A Maven pom.xml configuration snippet demonstrating distribution management settings for publishing Java packages. | Exact payloads, commands, or snippets shown in A Maven pom.xml configuration snippet demonstrating distribution management settings for publishing Java packages. |
examples/actions-publish-packages-java-with-maven-publishing-github-docs-github-a-2.text | A GitHub Actions workflow YAML configuration for publishing Java packages to the Maven Central Repository using the setup-java action. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for publishing Java packages to the Maven Central Repository using the s... |
examples/actions-publish-packages-java-with-maven-publishing-github-docs-github-a-3.text | A Maven pom.xml configuration snippet defining distribution management for publishing to GitHub Packages. | Exact payloads, commands, or snippets shown in A Maven pom.xml configuration snippet defining distribution management for publishing to GitHub Packages. |
examples/actions-publish-packages-java-with-maven-publishing-github-docs-github-a-4.text | A GitHub Actions workflow YAML configuration that uses Maven to deploy a Java package to GitHub Packages upon a release creation. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that uses Maven to deploy a Java package to GitHub Packages upon a relea... |
examples/actions-publish-packages-java-with-maven-publishing-github-docs-github-a-5.text | A GitHub Actions workflow YAML configuration for publishing Java packages to Maven Central and GitHub Packages upon a release. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for publishing Java packages to Maven Central and GitHub Packages upon a... |
What This Skill Covers
-
- GitHub Actions / - Tutorials / - Publish packages / - Publish Java packages with Maven
- Main sections:
In this article,Introduction,Prerequisites,About package configuration,Publishing packages to the Maven Central Repository.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/tutorials/publish-packages/publish-java-packages-with-maven
