Failure to Execute Goal Maven Surefire Plugin on Child Module for Jzy3d Program
<p>To simplify what I'm asking: what is a test failure and how do I rectify it?</p>

<p>I'm new to Maven, and I'm trying to get the graphical plotting application <a href="http://www.jzy3d.org/" rel="nofollow">Jzy3d</a> to work on my computer. I've updated all of the plugins to be the newest versions in the POM files for the parent and child modules, as well as checking that Maven is pointing to the newest JRE I have installed (which it is). </p>

<p>My dependency trees are also all fine, which covers many of the avenues for which I have seen this error on this forum and elsewhere.</p>

<p>I simply cannot isolate the issue.</p>

<p>The error message when running <em>mvn package -e</em> is as follows:</p>

<pre><code>D:\Program Files\jzy3d-api-master&gt;mvn package -e 
[INFO] Error stacktraces are turned on. 
[INFO] Scanning for projects... 
[INFO]
------------------------------------------------------------------------ 
[INFO] Reactor Build Order: 
[INFO] 
[INFO] Jzy3d Master Project 
[INFO] JDT core (fork of https://github.com/yonatang/JDT) 
[INFO] Jzy3d API 
[INFO] Jzy3d SWT Tools 
[INFO] Jzy3d Tutorials 
[INFO] 
[INFO]
------------------------------------------------------------------------ 
[INFO] Building Jzy3d Master Project 0.9.2-SNAPSHOT 
[INFO]
------------------------------------------------------------------------ 
[INFO] 
[INFO]
------------------------------------------------------------------------ 
[INFO] Building JDT core (fork of https://github.com/yonatang/JDT)
0.9.2-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jzy3d-jdt-core --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] skip non existing resourceDirectory D:\Program Files\jzy3d-api-master\jzy3d-jdt-core\src\main\resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jzy3d-jdt-core --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jzy3d-jdt-core --- 
[INFO] Using 'UTF-8' encoding to copy filtered resources. 
[INFO] Copying 18 resources 
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ jzy3d-jdt-core --- 
[INFO] Nothing to compile - all classes are up to date 
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ jzy3d-jdt-core --- 
[INFO] Surefire report directory: D:\Program Files\jzy3d-api-master\jzy3d-jdt-core\target\surefire-reports
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running il.ac.idc.jdt.SmokeTest Configuring TestNG with: TestNG60Configurator Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.639 sec &lt;&lt;&lt; FAILURE! - in il.ac.idc.jdt.SmokeTest shouldRunOnExampleData(il.ac.idc.jdt.SmokeTest)  Time elapsed: 0.412 sec  &lt;&lt;&lt; FAILURE! java.lang.AssertionError: t1_1000.tsin trangulation is correct for smf
        at il.ac.idc.jdt.SmokeTest.shouldRunOnExampleData(SmokeTest.java:28)
Results :
Failed tests:   SmokeTest.shouldRunOnExampleData:28 t1_1000.tsin trangulation is correct for smf
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Jzy3d Master Project ............................... SUCCESS [  0.022 s] 
[INFO] JDT core (fork of https://github.com/yonatang/JDT) . FAILURE [  8.853 s] 
[INFO] Jzy3d API .......................................... SKIPPED 
[INFO] Jzy3d SWT Tools .................................... SKIPPED 
[INFO] Jzy3d Tutorials .................................... SKIPPED 
[INFO]
------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO]
------------------------------------------------------------------------ 
[INFO] Total time: 9.772 s 
[INFO] Finished at: 2016-01-13T11:56:26+00:00 
[INFO] Final Memory: 8M/22M 
[INFO]
------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project jzy3d-jdt-core: There are test failures. 
[ERROR] 
[ERROR] Please refer to D:\Program Files\jzy3d-api-master\jzy3d-jdt-core\target\surefire-reports for the individual test results. 
[ERROR] -&gt; [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project jzy3d-jdt-core: There are test failures.
Please refer to D:\Program Files\jzy3d-api-master\jzy3d-jdt-core\target\surefire-reports for the individual test results.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to D:\Program Files\jzy3d-api-master\jzy3d-jdt-core\target\surefire-reports for the individual test results.
        at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:91)
        at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:320)
        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:892)
        at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:755)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
        ... 20 more [ERROR] [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR]   mvn &lt;goals&gt; -rf :jzy3d-jdt-core
</code></pre>

<p>My parent POM file is: </p>

<pre class="lang-xml prettyprint-override"><code>&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/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;groupId&gt;org.jzy3d&lt;/groupId&gt;
    &lt;artifactId&gt;jzy3d-master&lt;/artifactId&gt;
    &lt;version&gt;0.9.2-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;pom&lt;/packaging&gt;

  &lt;name&gt;Jzy3d Master Project&lt;/name&gt;
  &lt;url&gt;http://www.jzy3d.org&lt;/url&gt;
  &lt;description&gt;A java API to draw 3d charts.&lt;/description&gt;
  &lt;developers&gt;
    &lt;developer&gt;
      &lt;id&gt;martin.pernollet&lt;/id&gt;
      &lt;name&gt;Martin Pernollet&lt;/name&gt;
      &lt;email&gt;martin@jzy3d.org&lt;/email&gt;
      &lt;url&gt;http://twitter.com/jzy3d&lt;/url&gt;
    &lt;/developer&gt;
    &lt;developer&gt;
      &lt;id&gt;nils.hoffmann&lt;/id&gt;
      &lt;name&gt;Nils Hoffmann&lt;/name&gt;
    &lt;/developer&gt;
    &lt;developer&gt;
      &lt;id&gt;juan.barandiaran&lt;/id&gt;
      &lt;name&gt;Juan Barandiaran&lt;/name&gt;
    &lt;/developer&gt;
  &lt;/developers&gt;

  &lt;licenses&gt;
    &lt;license&gt;
      &lt;name&gt;The (New) BSD License&lt;/name&gt;
      &lt;url&gt;http://www.opensource.org/licenses/bsd-license.php&lt;/url&gt;
      &lt;distribution&gt;repo&lt;/distribution&gt;
    &lt;/license&gt;
  &lt;/licenses&gt;
  &lt;scm&gt;
    &lt;connection&gt;scm:git:git://github.com/jzy3d/jzy3d-api&lt;/connection&gt;
  &lt;/scm&gt;
  &lt;issueManagement&gt;
    &lt;system&gt;Github&lt;/system&gt;
    &lt;url&gt;https://github.com/jzy3d/jzy3d-api/issues&lt;/url&gt;
  &lt;/issueManagement&gt;

  &lt;modules&gt;
      &lt;module&gt;jzy3d-api&lt;/module&gt;
      &lt;!-- &lt;module&gt;jzy3d-javafx&lt;/module&gt; --&gt;
      &lt;module&gt;jzy3d-swt&lt;/module&gt;

      &lt;module&gt;jzy3d-jdt-core&lt;/module&gt;
      &lt;module&gt;jzy3d-tutorials&lt;/module&gt;
  &lt;/modules&gt;

  &lt;properties&gt;
    &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;version.jzy3d&gt;0.9.2-SNAPSHOT&lt;/version.jzy3d&gt;
    &lt;version.java.source&gt;1.6&lt;/version.java.source&gt;
    &lt;version.java.target&gt;1.6&lt;/version.java.target&gt;
        &lt;version.mvn.compiler&gt;3.0&lt;/version.mvn.compiler&gt;
        &lt;version.mvn.ftp&gt;1.0-beta-6&lt;/version.mvn.ftp&gt;
        &lt;version.mvn.deploy&gt;2.4&lt;/version.mvn.deploy&gt;
    &lt;version.mvn.javadoc&gt;2.9.1&lt;/version.mvn.javadoc&gt;
        &lt;version.libs.junit&gt;4.10&lt;/version.libs.junit&gt;
        &lt;version.libs.swt&gt;4.2.1&lt;/version.libs.swt&gt;
    &lt;/properties&gt;

  &lt;distributionManagement&gt;
    &lt;repository&gt;
      &lt;id&gt;jzy3d-ftp&lt;/id&gt;
      &lt;name&gt;Jzy3d Maven Folder&lt;/name&gt;
      &lt;url&gt;ftp://ftp.cluster013.ovh.net/maven/releases&lt;/url&gt;
    &lt;/repository&gt;
    &lt;snapshotRepository&gt;
      &lt;id&gt;jzy3d-ftp&lt;/id&gt;
      &lt;name&gt;Jzy3d Maven Folder SNAPSHOTS&lt;/name&gt;
      &lt;url&gt;ftp://ftp.cluster013.ovh.net/maven/snapshots&lt;/url&gt;
    &lt;/snapshotRepository&gt;
  &lt;/distributionManagement&gt;

&lt;repositories&gt;
  &lt;repository&gt;
     &lt;id&gt;jzy3d-snapshots&lt;/id&gt;
     &lt;name&gt;Jzy3d Snapshots&lt;/name&gt;
     &lt;url&gt;http://maven.jzy3d.org/snapshots&lt;/url&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
     &lt;id&gt;jzy3d-releases&lt;/id&gt;
     &lt;name&gt;Jzy3d Snapshots&lt;/name&gt;
     &lt;url&gt;http://maven.jzy3d.org/releases&lt;/url&gt;
  &lt;/repository&gt;
&lt;/repositories&gt;

  &lt;build&gt;
    &lt;pluginManagement&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.3&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;source&gt;1.5&lt;/source&gt;
                    &lt;target&gt;1.5&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-javadoc-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.10.3&lt;/version&gt;
              &lt;configuration&gt;
                &lt;stylesheetfile&gt;jzy3d-api/doc/layout.css&lt;/stylesheetfile&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;2.19.1&lt;/version&gt;
     &lt;/plugin&gt;

 &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.10&lt;/version&gt;
        &lt;executions&gt;
          &lt;execution&gt;
            &lt;id&gt;copy&lt;/id&gt;
            &lt;phase&gt;package&lt;/phase&gt;
            &lt;goals&gt;
              &lt;goal&gt;copy&lt;/goal&gt;
            &lt;/goals&gt;
            &lt;configuration&gt;
              &lt;artifactItems&gt;
                &lt;artifactItem&gt;
                  &lt;groupId&gt;[ groupId ]&lt;/groupId&gt;
                  &lt;artifactId&gt;[ artifactId ]&lt;/artifactId&gt;
                  &lt;version&gt;[ version ]&lt;/version&gt;
                  &lt;type&gt;[ packaging ]&lt;/type&gt;
                  &lt;classifier&gt; [classifier - optional] &lt;/classifier&gt;
                  &lt;overWrite&gt;[ true or false ]&lt;/overWrite&gt;
                  &lt;outputDirectory&gt;[ output directory ]&lt;/outputDirectory&gt;
                  &lt;destFileName&gt;[ filename ]&lt;/destFileName&gt;
                &lt;/artifactItem&gt;
              &lt;/artifactItems&gt;
              &lt;!-- other configurations here --&gt;
            &lt;/configuration&gt;
          &lt;/execution&gt;
        &lt;/executions&gt;
      &lt;/plugin&gt;

    &lt;/plugins&gt;
    &lt;/pluginManagement&gt;


    &lt;extensions&gt;
      &lt;extension&gt;
        &lt;groupId&gt;org.apache.maven.wagon&lt;/groupId&gt;
          &lt;artifactId&gt;wagon-ftp&lt;/artifactId&gt;
          &lt;version&gt;${version.mvn.ftp}&lt;/version&gt;
      &lt;/extension&gt;
    &lt;/extensions&gt;
  &lt;/build&gt;
&lt;/project&gt;
</code></pre>

<p>And the child POM for which the error message keeps running (jzy3d-jdt-core) is:</p>

<pre class="lang-xml prettyprint-override"><code>&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;parent&gt;
        &lt;groupId&gt;org.jzy3d&lt;/groupId&gt;
        &lt;artifactId&gt;jzy3d-master&lt;/artifactId&gt;
        &lt;version&gt;0.9.2-SNAPSHOT&lt;/version&gt;
    &lt;/parent&gt;
    &lt;artifactId&gt;jzy3d-jdt-core&lt;/artifactId&gt;

    &lt;name&gt;JDT core (fork of https://github.com/yonatang/JDT)&lt;/name&gt;
    &lt;description&gt;Java Delaunay Triangulation Core Library&lt;/description&gt;

    &lt;properties&gt;
        &lt;testng.version&gt;6.5.2&lt;/testng.version&gt;
        &lt;hamcrest.version&gt;1.3.RC2&lt;/hamcrest.version&gt;
    &lt;/properties&gt;

    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;commons-io&lt;/groupId&gt;
            &lt;artifactId&gt;commons-io&lt;/artifactId&gt;
            &lt;version&gt;2.3&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
            &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
            &lt;version&gt;3.1&lt;/version&gt;
        &lt;/dependency&gt;
</code></pre>