Hello,
I try to compile XWiki platform trunk and when compiling
xwiki-xmldoc-update-plugin, the tests fail:
-------------------------------------------------------------------------------
Test set: com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.086 sec
<<< FAILURE!
testXMLDocumentLoading(com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest)
Time elapsed: 0.019 sec <<< ERROR!
java.lang.NoClassDefFoundError: com/xpn/xwiki/XWikiContext
at
com.xpn.xwiki.tool.doc.AbstractDocumentMojo.<init>(AbstractDocumentMojo.java:79)
at com.xpn.xwiki.tool.doc.AttachMojo.<init>(AttachMojo.java:38)
at
com.xpn.xwiki.tool.doc.AbstractDocumentMojoTest.testXMLDocumentLoading(AbstractDocumentMojoTest.java:43)
Caused by: java.lang.ClassNotFoundException: com.xpn.xwiki.XWikiContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 29 more
which is quite strange... seems Maven is not able to resolve dependencies!
Do you have the same problems?
regards
Pascal