Configured maven replacer plugin.

pull/59/head
Amanda Anganes 2012-01-12 16:11:07 -05:00
parent 01ec777af6
commit a8840c716f
1 changed files with 23 additions and 0 deletions

View File

@ -266,6 +266,11 @@
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.3.8</version>
</dependency>
</dependencies>
<repositories>
<!-- For testing against latest Spring snapshots -->
@ -388,6 +393,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>maven-replacer-plugin</artifactId>
<version>1.3.8</version>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<!-- Replace database key/value pairs if there -->
<configuration>
<filesToInclude>target/${project.artifactId}-${project.version}/WEB-INF/spring/data-context.xml,target/${project.artifactId}-${project.version}/WEB-INF/spring/security-context.xml</filesToInclude>
<tokenValueMap>local-values.conf</tokenValueMap>
</configuration>
</plugin>
</plugins>
</build>
</project>