mirror of
https://github.com/s4u/maven-settings-action.git
synced 2026-02-12 00:05:49 +08:00
cb7cfb850b1997219d821dcbb106514bceb9ce80
maven-settings-action
This action setup maven environment for use in action by:
- create maven setings.xml
- set
interactiveModeto false - useful in CI system
Usage
See action.yml
Crate default settings.xml:
steps:
- uses: s4u/maven-settings-action@v1
Create settings.xml with server section:
steps:
- uses: s4u/maven-settings-action@v1
with:
servers: '[{"id": "serverId", "username": "username", "password": "password"}]'
Create settings.xml with maven properties:
steps:
- uses: s4u/maven-settings-action@v1
with:
properties: '[{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]'
Create settings.xml with https://oss.sonatype.org/content/repositories/snapshots in repository list
steps:
- uses: s4u/maven-settings-action@v1
with:
sonatype-snapshots: true
License
The scripts and documentation in this project are released under the MIT License
Contributions
Contributions are welcome!
Languages
JavaScript
99.5%
Shell
0.5%