I’d like to use the maven-replacer-plugin to replace $file-list$ in a file with a comma separated list of files in a folder of my project. Is this possible?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is what I did :
using the antrun plugin create a temp file with the list in it :
then using the replacer plugin I replace the list in the file that I want :
I’m sure there must be a better way, but hope this helps someone.