Releases: Contrast-Security-OSS/setup-maven
Releases · Contrast-Security-OSS/setup-maven
v1.0.2
Release Notes - Setup Maven v1.0.2
Initial Release
This action provides a straightforward way to install and configure Apache Maven within your GitHub Actions workflows.
Key Features:
- Version Specification:
- Allows users to specify the desired Maven version using semantic versioning (e.g.,
10.x,10.15.1,>=10.15.0). - Defaults to Maven version
3.9.9if no version is specified.
- Allows users to specify the desired Maven version using semantic versioning (e.g.,
- Automated Installation:
- Automatically downloads and installs the specified Maven version.
- Adds the Maven
bindirectory to the system'sPATH, enabling direct execution ofmvncommands.
- Node.js 20 Powered:
- Built on Node.js 20, ensuring compatibility and efficient execution within GitHub Actions.
- Cross-Platform Support:
- Designed to work across various operating systems supported by GitHub Actions.
- Core Functionality:
- Focuses on providing a reliable mechanism for installing specific Maven versions.
Usage Example:
name: Maven Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Maven
uses: Contrast-Security-OSS/[email protected]
with:
maven-version: '3.8.6'
- name: Build with Maven
run: mvn clean install