Closed GoogleCodeExporter closed 9 years ago
Sorry...corrected the above configuration:
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<goals>prepare-package</goals>
<artifactId>replacer</artifactId>
<version>1.5.2</version>
<configuration>
<filesToInclude>target/test-classes/unittest.properties,
src/main/webapp/common/log4j-context.xml</filesToInclude>
<regex>true</regex>
<replacements>
<!-- The following replacement works, because it has spring.profiles.active=
both in token and also in value -->
<replacement>
<token>spring.profiles.active=(.*)</token>
<value>spring.profiles.active=${springProfile}</value>
</replacement>
<!-- The following replacement does not work, want to retrieve just this
${interceptorProperty value from *.properties file or based on the build server
properties file -->
<replacement>
<token><property name="interceptor" ref="sampleLogInterceptor" /></token>
<value>${interceptorProperty}</value>
</replacement> </replacements> </configuration>
</plugin>
Original comment by ryanrak...@gmail.com
on 21 Mar 2013 at 9:13
Thanks for your last comment. I will close this issue.
Original comment by baker.st...@gmail.com
on 23 Mar 2013 at 9:11
Original issue reported on code.google.com by
ryanrak...@gmail.com
on 21 Mar 2013 at 8:51