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.
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
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-build-and-test-java-with-maven-building-testing-github-docs-workflow-guide.md | A 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.text | A 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.text | A 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.text | A 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.text | A 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
- 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/build-and-test-code/java-with-maven
