Comments on Building XWiki from sources
Last modified by Lucas Charpentier (Sereza7) on 2024/01/19 11:27
- Manage
- Copy
- Actions
- Export
- Print Preview
- Viewers
- Source
- Children
- Content
- Attachments
- History
- Information
- Likes
Export
Choose the export format from the list below:
$services.rendering.render($uix.execute(), 'html/5.0')
- Office Formats (1)
-
Export as Portable Document Format (PDF) using the Web Browser
-
- Other Formats (1)
-
Export as HyperText Markup Language (HTML)
-
Export as
Select the pages to export:
- Legend:
- Created Page
- Modified Extension Page
- Clean Extension Page
A few days after my post to the devs mailing list reporting the Maven build problem <DVFactoryException: DTD factory class>, Vincent Massol made the fix.
I have Mvn 2.2.1 and JDK 1.6 and compiles fine for me. Please double check and remove the message and perhaps close the Jira issue.
Doc updated, thanks Bogdan
Another gotcha to be aware of, ensure that Maven is using at least JDK 1.6 u22 or later to compile XWiki.
I ran into an issue with JDK 1.6u17 where Maven kept failing to building XWiki platform off the master 4.0 trunk.
Maven was throwing errors on compiling: xwiki-platform-configuration-default
It was caused by the following Sun Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954 (Inference fails for type variable return constraint)
Comment about Maven 3.0.4 seems outdated: bug was closed
I am getting the following error when trying to build the rendering module,
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.919s
[INFO] Finished at: Tue Nov 19 17:48:46 IST 2013
[INFO] Final Memory: 17M/182M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xwiki-rendering-syntax-xwiki21: Could
not resolve dependencies for project org.xwiki.rendering:xwiki-rendering-syntax-
xwiki21:jar:5.2.1-SNAPSHOT: Failure to find org.xwiki.rendering:xwiki-rendering-
syntax-xwiki20:jar:tests:5.2.1-SNAPSHOT in http://nexus.xwiki.org/nexus/content/
groups/public-snapshots was cached in the local repository, resolution will not
be reattempted until the update interval of xwiki-snapshots has elapsed or updat
es are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
I tried in Ubuntu and Windows machines. Error in both environment. I tried to build the xwiki-rendering-syntax-xwiki20 separately and its passing.
Pls tell me a solution for this issue.