Take an xml file which has new lines
Use the config
<plugin>
<groupId>bakersoftware</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>0.0.8</version>
<executions>
<execution>
<id>broadcast</id>
<phase>process-resources</phase>
<goals>
<goal>replace</goal>
</goals>
<configuration>
<file>src/main/resources/somefile.xml</file>
<token>@TOKEN@</token>
<value>${maven.property}</value>
</configuration>
</execution>
Output file has updated tokens but missing line feeds
Original issue reported on code.google.com by wkze...@gmail.com on 24 Mar 2009 at 2:44
Original issue reported on code.google.com by
wkze...@gmail.com
on 24 Mar 2009 at 2:44