I don't understand why you have this error, but at least you are able to compile it with mvn clean install -DskipTests=true.
2014-06-12 10:43 GMT+02:00 wafid <mahfoudh.atm...@telecom-bretagne.eu>: > the same error : > //************************************************************************ > //************************************************************************* > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9:05.382s > [INFO] Finished at: Thu Jun 12 10:37:41 CEST 2014 > [INFO] Final Memory: 154M/562M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on > project xwiki-platform-oldcore: There are test failures. > [ERROR] > [ERROR] Please refer to > > /home/matmani/xwikibuild/xwiki-platform/xwiki-platform-core/xwiki-platform-oldcore/target/surefire-reports > for the individual test results. > [ERROR] -> [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/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :xwiki-platform-oldcore > matmani@pc-eqi06128:~/xwikibuild/xwiki-platform$ > > //****************************************************************************************************************** > > > Test set: com.xpn.xwiki.doc.XWikiDocumentTest > > > //*************************************************************************** > <testcase name="testObjectNumbersAfterXMLRoundrip" > classname="com.xpn.xwiki.doc.XWikiDocumentTest" time="0.257"> > <error message="Error number 7005 in 7: Error instanciating property > class" type="com.xpn.xwiki.XWikiException">com.xpn.xwiki.XWikiException: > Error number 7005 in 7: Error instanciating property class > at > com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:597) > at com.xpn.xwiki.objects.BaseObject.fromXML(BaseObject.java:283) > at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4411) > at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4288) > at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:4267) > at > > com.xpn.xwiki.doc.XWikiDocumentTest.testObjectNumbersAfterXMLRoundrip(XWikiDocumentTest.java:515) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:39) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > at > > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) > at > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > Caused by: com.xpn.xwiki.XWikiException: Error number 7006 in 7: Cannot > find > property class com.xpn.xwiki.objects.classes.StaticListClass in MetaClass > object > at > com.xpn.xwiki.objects.classes.PropertyClass.fromXML(PropertyClass.java:500) > at > com.xpn.xwiki.objects.classes.BaseClass.fromXML(BaseClass.java:593) > ... 24 more > </error> > </testcase> > > //****************************************************************************** > > > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Maven-errors-tp7590867p7591017.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users