Author: jjamrich
Date: 2011-10-17 19:39:38 -0400 (Mon, 17 Oct 2011)
New Revision: 22817
Modified:
modules/tests/metamer/trunk/ftest/pom.xml
Log:
Fix problem with replacer plugin: not updated context params in web.xml
There were configuration problems in replacer plugin and in maven-war-plugin,
which causes not match replace condition and then rewrite modified web.xml by original
file
Modified: modules/tests/metamer/trunk/ftest/pom.xml
===================================================================
--- modules/tests/metamer/trunk/ftest/pom.xml 2011-10-17 23:39:33 UTC (rev 22816)
+++ modules/tests/metamer/trunk/ftest/pom.xml 2011-10-17 23:39:38 UTC (rev 22817)
@@ -505,10 +505,12 @@
<goal>replace</goal>
</goals>
<configuration>
-
<file>target/metamer/WEB-INF/web.xml</file>
- <regex>false</regex>
-
<token><param-name>org.richfaces.resourceMapping.enabled</param-name>\s*<param-value>false</param-value>></token>
-
<value><param-name>org.richfaces.resourceMapping.enabled</param-name>\n\t<param-value>true</param-value>></value>
+
<file>target/metamer/WEB-INF/web.xml</file>
+ <regexFlags>
+ <regexFlag>MULTILINE</regexFlag>
+ </regexFlags>
+
<token><param-name>org.richfaces.resourceMapping.enabled</param-name>\s*<param-value>false</param-value></token>
+
<value><param-name>org.richfaces.resourceMapping.enabled</param-name><param-value>true</param-value></value>
</configuration>
</execution>
@@ -606,8 +608,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
-
<classifier>${deployable.classifier}</classifier>
-
<webappDirectory>target/metamer</webappDirectory>
+ <classifier>${deployable.classifier}</classifier>
+
<warSourceDirectory>target/metamer</warSourceDirectory>
<warName>metamer-updated</warName>
</configuration>
<executions>
Show replies by date