Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-publish-packages-java-with-maven-publishing-github-docs-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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