Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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



```