You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Gainty <mg...@hotmail.com> on 2016/12/31 15:28:57 UTC

Strange surefire anomaly (and Happy New Year)

when I run surefire i see this error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test (default-test) on project axis2-integration: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.13:test failed: There was an error in the forked process

[ERROR] java.lang.NoClassDefFoundError: modules/org/custommonkey/xmlunit/NodeTest (wrong name: org/custommonkey/xmlunit/NodeTest)

org/custommonkey/xmlunit/NodeTest is included by maven-surefire-plugin xmlunit dependency:

                        <dependency>
           <groupId>xmlunit</groupId>
           <artifactId>xmlunit</artifactId>
           <version>1.6</version>
        </dependency>

investigating surefire8563057772792581832tmp.txt in target/surefire i see:

#surefire
#Fri Dec 30 19:19:29 EST 2016

<normal entries snip>

tc.0=modules.org.custommonkey.xmlunit.NodeTest

does anyone know which surefire entity references modules.org.custommonkey.xmlunit.NodeTest instead of org.custommonkey.xmlunit.NodeTest ?


BTW: happy 2017

Martin
______________________________________________