4 Commits

Author SHA1 Message Date
2f53a7669c Merge pull request #84 from s4u/mvn-3.9.8
Maven 3.9.8 as default
2024-06-29 09:29:19 +02:00
1bea7e41c5 Maven 3.9.8 as default 2024-06-29 09:23:28 +02:00
816f5e6ba8 Configure custom maven repositories 2024-06-29 09:19:04 +02:00
25553285e3 Bump actions/checkout from 4.1.6 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 15:37:39 +02:00
3 changed files with 14 additions and 8 deletions

View File

@ -19,13 +19,13 @@ jobs:
matrix:
os: [ 'ubuntu-latest', 'windows-latest', 'macOS-latest' ]
java: [ '8', '11', '17', '21' ]
maven: [ '3.8.8', '3.9.6' ]
maven: [ '3.8.8', '3.9.8' ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./
with:
@ -41,11 +41,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./
- run: mvn -V validate -Drequire.java=17 -Drequire.maven=3.9.6
- run: mvn -V validate -Drequire.java=17 -Drequire.maven=3.9.8
shell: bash
test-ok:

View File

@ -70,7 +70,7 @@ So we can use for action:
| params | destination | default |
|---------------|---------------|---------|
| maven-version | maven-version | 3.9.6 |
| maven-version | maven-version | 3.9.8 |
## maven-settings-action
@ -81,6 +81,7 @@ So we can use for action:
| settings-properties | properties |
| settings-sonatypeSnapshots | sonatypeSnapshots |
| settings-proxies | proxies |
| settings-repositories | repositories |
# Testing against different Maven versions
@ -92,7 +93,7 @@ jobs:
strategy:
matrix:
maven: [ '3.8.8', '3.9.6' ]
maven: [ '3.8.8', '3.9.8' ]
name: Maven ${{ matrix.maven }} sample

View File

@ -69,7 +69,7 @@ inputs:
# maven version
maven-version:
description: 'The Maven version to set up'
default: '3.9.6'
default: '3.9.8'
required: false
# maven settings.xml
@ -93,12 +93,16 @@ inputs:
description: 'proxies definition in json array, e.g.: [{"id": "http-proxy", "active": "true", "protocol": "http", "host": "host", "port": "port", "nonProxyHosts": "host1|host2"}]'
required: false
settings-repositories:
description: 'repository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]'
required: false
runs:
using: 'composite'
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: '${{ inputs.checkout-fetch-depth }}'
path: '${{ inputs.checkout-path }}'
@ -139,3 +143,4 @@ runs:
properties: '${{ inputs.settings-properties }}'
sonatypeSnapshots: '${{ inputs.settings-sonatypeSnapshots }}'
proxies: '${{ inputs.settings-proxies }}'
repositories: '${{ inputs.settings-repositories }}'