title: Set `file.encoding` from `pom.xml`
body: <p>What incantation do I put into <code>pom.xml</code> which will be equivalent to </p>
  
  <pre><code>export JAVA_TOOL_OPTIONS='-Dfile.encoding=UTF-8'
  </code></pre>
  
  <p>in <code>.profile</code>?
  I tried </p>
  
  <pre><code>&lt;configuration&gt;
      &lt;file.encoding&gt;UTF-8&lt;/file.encoding&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>in <code>maven-compiler-plugin</code> and</p>
  
  <pre><code>&lt;properties&gt;
      &lt;file.encoding&gt;UTF-8&lt;/file.encoding&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>in top level and it did not work.</p>
  
  <p>The main idea is to set this from <code>pom.xml</code>, <strong><em>NOT</em></strong> from the environment 
  (I have <strong>no</strong> control over what environment this will be run under).
  Again, I am not interested in any solution which modifies <code>.profile</code> et al.</p>