title: Encoding UTF-8 not working in maven
body: <p>I have a problem with the Maven project. When I want to use a special character, it returns '?'.</p>
  
  <pre><code>String text = "Hello World! ";
  System.out.println(text);
  </code></pre>
  
  <p>Print console: </p>
  
  <pre><code>------------------------------------------------------------------------
  Building Elliugh 1.0-SNAPSHOT
  ------------------------------------------------------------------------
  
  --- exec-maven-plugin:1.2.1:exec (default-cli) @ Elliugh ---
  Hello World! ?
  ------------------------------------------------------------------------
  BUILD SUCCESS
  ------------------------------------------------------------------------
  Total time: 0.612s
  Finished at: Fri Jun 22 15:57:21 UYT 2018
  Final Memory: 5M/243M
  ------------------------------------------------------------------------
  </code></pre>
  
  <p>In a "Java Application" project it returns well.</p>
  
  <p>Print console: </p>
  
  <pre><code>Hello World! 
  BUILD SUCCESSFUL (total time: 0 seconds)
  </code></pre>
  
  <p>PsD: I already changed pom.xml (add utf-8)</p>
  
  <pre><code>    &lt;properties&gt;
          &lt;project.java.version&gt;1.8&lt;/project.java.version&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.7.0&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;source&gt;${project.java.version}&lt;/source&gt;
                      &lt;target&gt;${project.java.version}&lt;/target&gt;
                      &lt;encoding&gt;${project.build.sourceEncoding}&lt;/encoding&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
                  &lt;version&gt;3.0.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;encoding&gt;${project.build.sourceEncoding}&lt;/encoding&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>I need help.</p>
  
  <p>Thanks,
  Guillermo. </p>