I need to filter a java source file(in src/main/java-templates) with
this line of code:
"${outputLine}"
with a property in a properties file. Ex:
outputLine=res.sendRedirect(res.encodeURL(redirectURL));
I can run the example fine given here:
http://www.hascode.com/2013/09/filtering-source-files-using-the-templating-maven-plugin/
but it is using maven pom properties.
Do I need to specify the delimiters as provide here?:
http://mojo.codehaus.org/templating-maven-plugin/filter-sources-mojo.html
If so, can someone show me the pom?
Here is what I am using thus far:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<id>filter-src</id>
<goals>
<goal>filter-sources</goal>
</goals>
</execution>
</executions>
</plugin>
thank you
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email