I added the Maven dependencies above though received an error during compilation.
Failure to find org.wikimodel:org.wikimodel.wem:jar:2.0.7-20110531 in http://repo1.maven.org/maven2/
It seems like the xwiki dependencies are in the Maven central repo though the wikimodel ones are not. I added the xwiki repository to my pom and that seemed to solve the problem.
http://maven.xwiki.org/externals/
Not sure if I missed something though it seemed to resolve my issue.
You're right, we have forgotten to upload this wikimodel version to Maven Central. We'll fix it ASAP.
Starting with XWiki 4.0 we have integrated wikimodel in our source code and thus there's no more the need to deploy wikimodel to Maven Central.
<dependencies>
I could be doing something wrong though I needed to add the following dependency fo syntax-xhtml in order to get the examples below working.
If I didn't I received the following error:
I added the Maven dependencies above though received an error during compilation.
Failure to find org.wikimodel:org.wikimodel.wem:jar:2.0.7-20110531 in http://repo1.maven.org/maven2/
It seems like the xwiki dependencies are in the Maven central repo though the wikimodel ones are not. I added the xwiki repository to my pom and that seemed to solve the problem.
http://maven.xwiki.org/externals/
Not sure if I missed something though it seemed to resolve my issue.
You're right, we have forgotten to upload this wikimodel version to Maven Central. We'll fix it ASAP.
Starting with XWiki 4.0 we have integrated wikimodel in our source code and thus there's no more the need to deploy wikimodel to Maven Central.
I could be doing something wrong though I needed to add the following dependency fo syntax-xhtml in order to get the examples below working.
<groupId>
org.xwiki.rendering
</groupId>
<artifactId>
xwiki-rendering-syntax-xhtml
</artifactId>
<version>
3.2-milestone-3
</version>
</dependency>
If I didn't I received the following error:
at org.xwiki.rendering.internal.converter.DefaultConverter.convert(DefaultConverter.java:91)
at jsftest.xwikitest.XWikiTest.main(XWikiTest.java:38)
Caused by: org.xwiki.component.manager.ComponentLookupException: Can't find descriptor for the component [role