s4u/Setup Maven Action

Complete environment configuration for Maven builds

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
checkout-enabledEnable checkoutnotrue
checkout-fetch-depthNumber of commits to fetchno
checkout-submodulesWhether to fetch submodulesno
checkout-pathRelative path under $GITHUB_WORKSPACE to place the repositoryno
checkout-persist-credentialsWhether to configure the token or SSH key with the local git confignofalse
checkout-refThe branch, tag, or SHA of the repository to cloneno
checkout-repositoryThe repository to checkout if not the repository that triggered the action. For use when building GitHub Appsno${{ github.repository }}
checkout-tokenToken to use for checkout if checking out a repository out of scope for GITHUB_TOKENno${{ github.token }}
checkout-ssh-keySSH key used to fetch the repository. It allows to run authenticated git commandsno
java-versionThe Java version to set upyes17
java-distributionJava distributionnozulu
java-jdkFileJava JDK compressed file locationno
cache-enabledEnable cachenotrue
cache-prefixCache key prefixno
cache-pathCache pathno~/.m2/repository
cache-path-addAdditional item for cache pathno
maven-versionThe Maven version to set upno3.9.14
settings-serversservers definition in json array, e.g.: [{"id": "serverId", "username": "username", "password": "password"}]no
settings-mirrorsmirrors definition in json array, e.g.: [{"id": "id", "name": "name", "mirrorOf": "mirrorOf", "url": "url"}]no
settings-propertiesjson array with properties, e.g.: [{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]no
settings-sonatypeSnapshotsadd https://oss.sonatype.org/content/repositories/snapshots to repository list - true or falseno
settings-proxiesproxies definition in json array, e.g.: [{"id": "http-proxy", "active": "true", "protocol": "http", "host": "host", "port": "port", "nonProxyHosts": "host1|host2"}]no
settings-repositoriesrepository settings definition in json array, e.g.: [ { "id": "repoId","name": "repoName","url": "url","snapshots": { "enabled": true } } ]no
settings-pluginRepositoriesplugin repository settings definition in json array, e.g.: [{"id":"repoId","name":"repoName","url":"url","snapshots":{"enabled":true}}]no
settings-githubServeradd to settings.xml servers server-id: github; username=$GITHUB_ACTOR and password=$GITHUB_TOKENnotrue
settings-pathoverride default path to settings.xml which is $HOME/.m2/settings.xmlno

no outputs