Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chonton/yaml-maven-plugin
Write yaml files from maven properties
https://github.com/chonton/yaml-maven-plugin
maven yaml
Last synced: 3 days ago
JSON representation
Write yaml files from maven properties
- Host: GitHub
- URL: https://github.com/chonton/yaml-maven-plugin
- Owner: chonton
- License: apache-2.0
- Created: 2023-05-19T22:29:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-04T19:34:35.000Z (9 months ago)
- Last Synced: 2024-01-04T20:38:32.405Z (9 months ago)
- Topics: maven, yaml
- Language: Java
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yaml-maven-plugin
Write yaml file.
# Plugin
Plugin reports available at [plugin info](https://chonton.github.io/yaml-maven-plugin/plugin-info.html).
There is a single goal: [write](https://chonton.github.io/yaml-maven-plugin/write-mojo.html),
which by default binds to the **generate-resources** phase. This goal writes the values specified in the configuration
into a yaml file at the filename location.## Configuration
| Parameter | CmdLine Property | Description |
|----------:|:-----------------:|:------------------------------------|
| filename | yaml.filename | Filename to write yaml |
| path | - | Dot separated path to prefix values |
| yaml | - | Map of values to write | |
| skip | yaml.skip | Skip writing yaml |# Examples
## Typical Use
```xml
org.honton.chas
yaml-maven-plugin
0.0.1
org.honton.chas
yaml-maven-plugin
write
helm/env.yaml
pipeline
${project.version}
development
${group.namespace}
us-east-2
us
```