title: Error Maven with mvn test
body: <p>I am using this tool for first time, and I can't build  a project correctly.</p>
  
  <p>when i try the life cycle commands it builds succesfully with clean validate and compile. but when i try mvn test, it gives me this error :</p>
  
  <pre><code>[INFO] --------------------------------------------------------------------- 
  ---
  [INFO] BUILD FAILURE
  [INFO] --------------------------------------------------------------------- 
  ---
  [INFO] Total time: 4.410 s
  [INFO] Finished at: 2018-05-25T11:33:07+02:00
  [INFO] --------------------------------------------------------------------- 
  ---
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire- 
  plugin:2.20.1:test (default-test) on project gdp: Execution default-test of 
  goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed. 
  :NullPointerException
  -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
  switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please 
  read the following articles:
  [ERROR] [Help 1] 
   http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
  </code></pre>
  
  <p>mvn -v 3.5.3
  i am using a proxy and i did configure settings.xml file
  Please help.
  thank you</p>