I am trying to create pom.xml dynamically by reading an template file in resources folder. My template file looks as below. I read this files and substitute groupId, artifac