s4u/maven-settings-action
Prepare maven settings.xml
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | override default path to settings.xml which is $HOME/.m2/settings.xml | no | — |
| servers | servers definition in json array, eg: [{"id": "serverId", "username": "username", "password": "password"}] | no | — |
| mirrors | mirrors definition in json array, eg: [{"id": "id", "name": "name", "mirrorOf": "mirrorOf", "url": "url"}] | no | — |
| proxies | proxies definition in json array, eg: [{"id": "id", "active": "active", "protocol": "protocol", "host": "hostl", "port": "port", "nonProxyHosts", "nonProxyHosts"}] | — | — |
| properties | json array with properties, eg [{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}] | no | — |
| sonatypeSnapshots | add https://oss.sonatype.org/content/repositories/snapshots to repository list - true or false | no | false |
| apacheSnapshots | add https://repository.apache.org/snapshots to repository list - true or false | no | false |
| override | override existing settings.xml file | no | true |
| githubServer | add to settings.xml servers server-id: github; username=$GITHUB_ACTOR and password=$GITHUB_TOKEN | no | true |
| oracleServers | servers definition in json array, eg: [{"id": "serverId", "username": "username", "password": "password"}] for Oracle repository | no | — |
| oracleRepo | add Oracle Maven Repository | no | false |
| repositories | list of custom repositories as json array, e.g: [{"id":"repoId","name":"repoName","url":"url","snapshots":{"enabled":true}}] | no | — |
| pluginRepositories | list of custom plugin repositories as json array, e.g: [{"id":"repoId","name":"repoName","url":"url","snapshots":{"enabled":true}}] | no | — |
Outputs
no outputs