|
|
Re: Populate license inside of eol/egl file [message #1817279 is a reply to message #1817252] |
Tue, 19 November 2019 18:46 |
|
Hi Arseniy,
I'm not entirely sure what you would like to do. If it's just having Maven fill in a copyright placeholder in your EOL files, plain Maven resource filtering would do the job. See the attached minimal project.
The POM file turns on resource filtering, and defines an eol.copyright property with the intended copyright notice. You could use property interpolation to compute parts of the text on the fly if you needed.
Once resource filtering is on, you can insert the text of property "x" by putting "${x}" inside the text of any file inside src/main/resources.
Is this what you needed?
Kind regards,
Antonio
[Updated on: Wed, 20 November 2019 09:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02731 seconds