title: How to stop backslashes being escaped when filtering with maven-resources-plugin?
body: <p>I'd like to use the Maven Resources Plugin to set the XML schema location within an XML resource file:</p>
  
  <pre><code>&lt;root xsi:noNamespaceSchemaLocation="${env.myxsdpath}" ...&gt;
  </code></pre>
  
  <p>This works except for one thing - the substituted path has double backslashes instead of a single blackslash, e.g:</p>
  
  <pre><code>&lt;root xsi:noNamespaceSchemaLocation="C:\\mypath\\myschema.xsd" ...&gt;
  </code></pre>
  
  <p>So two questions:</p>
  
  <ol>
  <li>Is this a valid format for specifying the XSD file?</li>
  <li>Is there a way to tell Maven to use a single backslash instead of double backslashes?</li>
  </ol>
  
  <p>The environment variable <code>myxsdpath</code> is <code>C:\mypath\myschema.xsd</code>. The <code>maven-resources-plugin</code> doesn't have any special configuration other than specifying the files that are to be included with filtering turned on.</p>