title: Maven UTF-8 encoding issue
body: <p>When I run below code with two different project I get different outputs.</p>
  
  <pre><code>    String myString = "Türkçe Karakter Testi : ğüşiöçĞÜİŞÇÖĞ";
      String value = new String(myString.getBytes("UTF-8"));
      System.out.println(value);
  </code></pre>
  
  <p>First project is non-maven java application created in Netbeans 8.2. And it gives me following result which i expect.</p>
  
  <p>"Türkçe Karakter Testi : ğüşiöçĞÜİŞÇÖĞ"</p>
  
  <p>And second project is  maven java application project which is created in same way with following pom.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.mycompany&lt;/groupId&gt;
      &lt;artifactId&gt;mavenproject1&lt;/artifactId&gt;
      &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
          &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
      &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>This project gives me:</p>
  
  <p>"TÃ¼rkÃ§e Karakter Testi : ÄŸÃ¼ÅŸiÃ¶Ã§Ä?ÃœÄ°Å?Ã‡Ã–Ä?"</p>
  
  <p>I checked both file with notepad++ and both of them are encoded with UTF-8</p>