Removing /.m2/repository/org/apache/maven/surefire/surefire-testng and building online should solve the problem.
Thanks, Krishantha. On Fri, Jun 22, 2012 at 1:48 PM, Chamara Silva <cham...@wso2.com> wrote: > @subject pls. > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building WSO2 Carbon - Integration Tests 4.0.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ > org.wso2.carbon.integration.tests --- > [INFO] Deleting > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target > [INFO] > [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ > org.wso2.carbon.integration.tests --- > [INFO] Verifying module descriptor ... > [INFO] Pom descriptor modification detected. > [INFO] Deleting > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ > org.wso2.carbon.integration.tests --- > [INFO] Deleting > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target > [INFO] > [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ > org.wso2.carbon.integration.tests --- > [debug] execute contextualize > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/src/main/resources > [INFO] > [INFO] --- maven-antrun-plugin:1.3:run > (org.wso2.carbon.integration.tests-include-sources) @ > org.wso2.carbon.integration.tests --- > [INFO] Executing tasks > [copy] Copying 2 files to > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/test-classes > [INFO] Executed tasks > [INFO] > [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ > org.wso2.carbon.integration.tests --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-dependency-plugin:2.1:copy-dependencies (default) @ > org.wso2.carbon.integration.tests --- > [INFO] Copying emma-2.1.5320.jar to > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/emma/emma-2.1.5320.jar > [INFO] Copying org.wso2.carbon.integration.framework-4.0.0-SNAPSHOT.jar to > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/emma/org.wso2.carbon.integration.framework-4.0.0-SNAPSHOT.jar > [INFO] > [INFO] --- maven-dependency-plugin:2.1:copy-dependencies > (copy-secVerifier) @ org.wso2.carbon.integration.tests --- > [INFO] Copying SecVerifier.aar to > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/security-verifier/SecVerifier.aar > [INFO] > [INFO] --- maven-resources-plugin:2.5:testResources > (default-testResources) @ org.wso2.carbon.integration.tests --- > [debug] execute contextualize > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 2 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ > org.wso2.carbon.integration.tests --- > [INFO] Compiling 9 source files to > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ > org.wso2.carbon.integration.tests --- > [INFO] Surefire report directory: > /home/chamara/wso2/project/CARBON/kernel/trunk/distribution/integration/tests/target/surefire-reports > [WARNING] Invalid POM for > org.apache.maven.surefire:surefire-testng:jar:2.12, transitive dependencies > (if any) will not be available, enable debug logging for more details > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > org.apache.maven.surefire.util.SurefireReflectionException: > java.lang.ClassNotFoundException: > org.apache.maven.surefire.testng.TestNGProvider; nested exception is > java.lang.ClassNotFoundException: > org.apache.maven.surefire.testng.TestNGProvider > java.lang.ClassNotFoundException: > org.apache.maven.surefire.testng.TestNGProvider > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at > org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97) > at > org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:228) > at > org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:128) > at > org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:239) > at > org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:122) > at > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74) > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > > Regards, > Chamara Silva > > -- > Suminda Chamara Silva > WSO2 Inc. > Mobile: +94718302858 > blog: http://chamaras.blogspot.com > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev