title: Maven surefire and JDK 11
body: <p>I'm trying to get Maven surefire to run under JDK 11 but I keep getting these errors:</p>
  
  <ol>
  <li>If I set <code>reuseForks</code> to true:</li>
  </ol>
  
  <blockquote>
  <pre><code>  Error occurred in starting fork, check output in log
    Process Exit Code: 1
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:670)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:283)
    at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
  </code></pre>
  </blockquote>
  
  <ol start="2">
  <li>If I set it to false:</li>
  </ol>
  
  <blockquote>
  <pre><code>Execution default-test of goal org.apache.maven.plugins:maven-surefire-   plugin:3.0.0-M1:test
  failed: java.lang.ClassNotFoundException: org.apache.maven.plugin.surefire.StartupReportConfiguration
  </code></pre>
  </blockquote>
  
  <p>I've found <a href="https://issues.apache.org/jira/browse/SUREFIRE-1534" rel="noreferrer">this</a> and <a href="http://mail-archives.apache.org/mod_mbox/maven-issues/201811.mbox/%3CJIRA.13199325.1542632109000.386195.1542632280042@Atlassian.JIRA%3E" rel="noreferrer">this</a> link that describe the same problem but they don't have any solution.</p>
  
  <p>For replication of this bug I created <a href="https://github.com/o0oGnas/test" rel="noreferrer">this git repo</a></p>