maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1743728 - /maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
Date Fri, 13 May 2016 19:19:57 GMT
Author: khmarbaise
Date: Fri May 13 19:19:57 2016
New Revision: 1743728

URL: http://svn.apache.org/viewvc?rev=1743728&view=rev
Log:
[MRESOURCES-223] Define the escapeString by default with "\"
 o Defined default escapeString with "\" and improved the
   docs a little bit.

Modified:
    maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java

Modified: maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java?rev=1743728&r1=1743727&r2=1743728&view=diff
==============================================================================
--- maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
(original)
+++ maven/plugins/trunk/maven-resources-plugin/src/main/java/org/apache/maven/plugins/resources/ResourcesMojo.java
Fri May 13 19:19:57 2016
@@ -133,11 +133,13 @@ public class ResourcesMojo
     protected MavenSession session;
 
     /**
-     * Expression preceded with the String won't be interpolated \${foo} will be replaced
with ${foo}
-     *
+     * Expression preceded with the String won't be interpolated. For
+     * example {@code \${foo}} will be replaced with {@code ${foo}}.
+     * <br/>
+     * <b>Note: With 3.0.0 a default value has been defined.</b>
      * @since 2.3
      */
-    @Parameter( property = "maven.resources.escapeString" )
+    @Parameter( property = "maven.resources.escapeString", defaultValue = "\\" )
     protected String escapeString;
 
     /**



Mime
View raw message