Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chonton/readfiles-maven-plugin
- Owner: chonton
- License: apache-2.0
- Created: 2018-02-24T23:23:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T21:38:26.000Z (11 months ago)
- Last Synced: 2023-11-20T22:32:30.919Z (11 months ago)
- Topics: maven-plugin
- Language: Java
- Homepage:
- Size: 50.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```