Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/chonton/readfiles-maven-plugin

Read Files into Maven Properties
https://github.com/chonton/readfiles-maven-plugin

maven-plugin

Last synced: 3 days ago
JSON representation

Read Files into Maven Properties

Awesome Lists containing this project

README

        

# readfiles-maven-plugin

Read files into maven properties.

Mojo details at [plugin info](https://chonton.github.io/readfiles-maven-plugin/0.0.1/plugin-info.html)

Just one goal: [readfiles](https://chonton.github.io/readfiles-maven-plugin/0.0.1/readfiles-mojo.html)
sets maven properties to the contents of files. Each file is read fully and the contents are
set to maven properties of the same name as the files.

| Parameter | Default | Description |
|-----------|---------|-------------|
|files | | The list of files to read |
|encoding |${project.build.sourceEncoding}|The character encoding of the file (UTF-8 if not specified)|
|prefix | | Prefix each property name with this value |
|skip |${readfiles.skip}|Skip executing the plugin|

Typical use:

```xml


org.honton.chas
readfiles-maven-plugin
0.0.1


configurations

readfiles




${basedir}/src/main/resources/application.json

${basedir}/src/main/resources/environment.conf




index.html

readfiles


iso-8859-1
page.


${basedir}/src/main/resources/index.html






```