2020-02-22 13:44:35 +01:00
2019-10-01 23:03:44 +02:00
2019-10-01 22:14:15 +02:00
2019-10-01 22:14:15 +02:00
2020-02-22 13:44:35 +01:00
2020-01-23 22:41:53 +01:00
2020-01-23 22:41:53 +01:00
2020-01-23 22:41:53 +01:00
2020-01-23 22:41:53 +01:00
2019-10-01 22:14:15 +02:00
2020-01-24 10:01:30 +01:00
2020-01-24 10:01:30 +01:00
2020-01-24 10:40:04 +01:00
2020-02-22 13:44:35 +01:00

maven-settings-action

Test Action

This action setup maven environment for use in action by:

  • create maven settings.xml
  • set interactiveMode to false - useful in CI system
  • after job finish generated settings.xml will be removed to prevent cache or left sensitive data on build system

Usage

See action.yml

Create default settings.xml:

steps:
- uses: s4u/maven-settings-action@v1.1

Create settings.xml with server section:

steps:
- uses: s4u/maven-settings-action@v1.1
  with:
    servers: '[{"id": "serverId", "username": "username", "password": "password"}]'

Create settings.xml with maven properties:

steps:
- uses: s4u/maven-settings-action@v1.1
  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.1
  with:
    sonatypeSnapshots: true

Override existing settings.xml:

steps:
- uses: s4u/maven-settings-action@v1.1
  with:
    override: true

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome!

Description
No description provided
Readme MIT 27 MiB
Languages
JavaScript 99.5%
Shell 0.5%