changeset 109:ee048ed76ea1

Datums- und Syntex Fix
author Dirk Olmes <dirk.olmes@codedo.de>
date Fri, 18 Jun 2021 07:24:04 +0200
parents 712e2e9cf8b1
children be0331916375
files content/Maven/gmaven-string-template-engine.md
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/content/Maven/gmaven-string-template-engine.md	Wed Jun 16 16:40:17 2021 +0200
+++ b/content/Maven/gmaven-string-template-engine.md	Fri Jun 18 07:24:04 2021 +0200
@@ -1,10 +1,10 @@
 Title: Quick templating with gmaven and GStringTemplateEngine
-Date: 2020-06-16
+Date: 2021-06-16
 Lang: en
 
 At work I have come across the requirement to generate some files based on the info in a `pom.xml`. Maven's [resource filtering](https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html) feature would be the first thing that comes to mind but unfortunately it's not powerful enough for my use case. I had to generate a file based on the dependencies that are referenced in the project.
 
-A bit of googling found all kinds of outdated or unsupported maven plugins but nothing that would fit my use case directly. Finally I gave up and started to hack something together in groovy.
+A bit of googling found all kinds of outdated or unsupported maven plugins but nothing that would fit my use case directly. Finally I gave up and started to hack something together in groovy.
 
 As it turns out groovy comes with a templating engine built in: `groovy.text.GStringTemplateEngine`. Using it is fairly straightforward from Maven: