Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Building and testing Java with Maven - GitHub Docs

A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Java applications using the Maven build tool.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Building and testing Java with Maven - GitHub Docs

A tutorial for setting up a GitHub Actions workflow to automate the building and testing of Java applications using the Maven build tool.

When To Use

Use when you need to configure a GitHub Actions workflow file to automate Java compilation and unit testing via Maven commands.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-build-and-test-java-with-maven-building-testing-github-docs-workflow-guide.mdA tutorial guide on creating a continuous integration workflow to build and test Java applications using Maven in GitHub Actions.Questions about a tutorial guide on creating a continuous integration workflow to build and test Java applications using Maven in Git...
examples/actions-build-and-test-java-with-maven-building-testing-github-docs-gith.textA GitHub Actions workflow configuration file demonstrating how to set up JDK and build a Java project using Maven.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file demonstrating how to set up JDK and build a Java project using Maven.
examples/actions-build-and-test-java-with-maven-building-testing-github-docs-gith-2.textA YAML workflow configuration demonstrating how to set up Java with the Temurin distribution and run the Maven verify phase in GitHub Actions.Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to set up Java with the Temurin distribution and run the Maven verify...
examples/actions-build-and-test-java-with-maven-building-testing-github-docs-gith-3.textA GitHub Actions workflow YAML configuration for building and testing a Java project using Maven and JDK 17.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration for building and testing a Java project using Maven and JDK 17.
examples/actions-build-and-test-java-with-maven-building-testing-github-docs-gith-4.textA GitHub Actions workflow configuration file demonstrating how to build and test a Java project using Maven.Exact payloads, commands, or snippets shown in A GitHub Actions workflow configuration file demonstrating how to build and test a Java project using Maven.

What This Skill Covers

    • GitHub Actions / - Tutorials / - Build and test code / - Java with Maven
  • Main sections: In this article, Introduction, Prerequisites, Using a Maven workflow template, Specifying the Java version and architecture.

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/build-and-test-code/java-with-maven