title: surefire plugin output: "WARNING: An illegal reflective access operation has occurred"
body: <p>I have the following plugins configured in my maven build:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;sonar-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.6&lt;/version&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
              &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;0.8.4&lt;/version&gt;
          &lt;/plugin&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.8.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.8&lt;/source&gt;
                  &lt;target&gt;1.8&lt;/target&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;!-- plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.0.0-M3&lt;/version&gt;
          &lt;/plugin --&gt;
  </code></pre>
  
  <p>Everything appears to be working fine, tests are run, code coverage is consumed by Sonar.</p>
  
  <p>If I uncomment the surefire plugin, Sonar does not consume the code coverage and I get a .dumpstream file with the below content.  What is causing this, and how do I resolve it?</p>
  
  <blockquote>
    <h1>Created at 2019-11-13T19:35:46.185 WARNING: An illegal reflective access operation has occurred</h1>
    
    <h1>Created at 2019-11-13T19:35:46.193 WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector</h1>
    
    <p>(file:/C:/Users/tgunter/.m2/repository/com/sun/xml/bind/jaxb-impl/2.3.0/jaxb-impl-2.3.0.jar)
    to method
    java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)</p>
    
    <h1>Created at 2019-11-13T19:35:46.205 WARNING: Please consider reporting this to the maintainers of</h1>
    
    <p>com.sun.xml.bind.v2.runtime.reflect.opt.Injector</p>
    
    <h1>Created at 2019-11-13T19:35:46.212 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations</h1>
    
    <h1>Created at 2019-11-13T19:35:46.222 WARNING: All illegal access operations will be denied in a future release</h1>
  </blockquote>