Added the RemoteIpValve to the Tomcat configuration, if enabled by a property configurable in the pom.xml. By default the valve is enabled.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/maven-plugin/trunk@1612760 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
index 72b5374..531f21a 100644
--- a/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
+++ b/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractExecWarMojo.java
@@ -175,15 +175,15 @@
* see http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html
* @since 2.3
*/
- @Parameter(property = "maven.tomcat.exec.war.enableRemoteIpValve", defaultValue = "true",
- required = true)
+ @Parameter( property = "maven.tomcat.exec.war.enableRemoteIpValve", defaultValue = "true",
+ required = true )
protected String enableRemoteIpValve;
/**
* see http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html
*/
- @Parameter(property = "maven.tomcat.exec.war.accessLogValveFormat", defaultValue = "%h %l %u %t %r %s %b %I %D",
- required = true)
+ @Parameter( property = "maven.tomcat.exec.war.accessLogValveFormat", defaultValue = "%h %l %u %t %r %s %b %I %D",
+ required = true )
protected String accessLogValveFormat;
/**