Hello World
Just add the snippet into pom.xml
<build>
<plugins>
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>jcp</artifactId>
<version>7.2.1</version>
<executions>
<execution>
<id>preprocessSources</id>
<phase>generate-sources</phase>
<goals>
<goal>preprocess</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Then build project with mvn clean install and check the folder target/generated-sources/preprocessed
