Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
5 All XWiki sources are stored in [[Git>>]] repositories on {{scm}}GitHub{{/scm}}. XWiki is an [[OW2 project>>]], but we're using GitHub to store our sources.
7 You can browse the source repositories and download/clone the sources by using {{scm}}GitHub{{/scm}}. If you're looking for sources corresponding to a given XWiki version you'll need to switch to that version's branch in GitHub's UI.
9 = Top Level Projects =
11 XWiki is not a single product, but an ecosystem of {{scm}}top-level projects{{/scm}}.
13 Here's the list of repositories (one repository per top level project) maintained by the XWiki Core Development Team (a.k.a Core XWiki Committers) and that you should see if you browse the Git repositories at :
15 |=Git Repository name|=Description
16 |[[xwiki-commons>>commons:Main.WebHome]]|Technical libraries common to several other top level projects. Can be used by projects outside of the XWiki ecosystem; not related to the wiki domain.
17 |[[xwiki-rendering>>rendering:Main.WebHome]]|Rendering library to convert some input syntax into another output syntax. Can be used by projects outside of the XWiki ecosystem. Uses ##xwiki-commons##.
18 |[[xwiki-platform>>platform:Main.WebHome]]|Reusable components/parts used by other top level projects, making up a wiki runtime. Uses ##xwiki-commons## and ##xwiki-rendering##. Also provide the default Distribution and the Standard Flavor.
19 |xwiki-dev-tools|Various internal subprojects for improving the XWiki development experience (release scripts, helper to easily debug XWiki inside Eclipse, etc).
21 {{info}}
22 In order to better understand the relationships between the Platform and other top level projects, check how XWiki is [[Architected>>platform:DevGuide.Architecture]].
23 {{/info}}
25 = Contrib Projects =
27 In addition to the Top Level Projects mentioned above (and for which only XWiki Core committers have the rights to commit to), we've also created an {{scm user="xwiki-contrib"}}XWiki Contrib{{/scm}} organization on GitHub where everyone could contribute easily to XWiki-related projects (If you're interested see the [[documentation for Contrib projects>>contrib:Main.WebHome]]).
29 Note that GitHub offers free hosting for open source projects for every registered user, so you don't have to ask for access to the ##xwiki-contrib## repositories if you just want to host your own code. That said we would love for you to put your project on ##xwiki-contrib## since it makes it easy for users/developers to find XWiki-related projects under a single location (it also makes better advertising for your own project). By using ##xwiki-contrib## you also gain [[a wiki and a JIRA project if you want to>>contrib:Main.WebHome#HHostingtools]] (among other tools).
31 = Attic =
33 Finally abandonned project are moved to {{scm user="xwiki-attic"}}the xwiki-attic organization{{/scm}}.
35 = Project Structure =
37 == XWiki Commons Structure ==
39 |=Directory name|=Description
40 |xwiki-commons/xwiki-commons-pom|The top level Maven build descriptor (a.k.a POM). It's referenced by all other build modules.
41 |xwiki-commons/xwiki-commons-core|Commons libraries (JARs)
42 |xwiki-commons/xwiki-commons-tools|Build tools used to build other commons modules.
44 == XWiki Rendering Structure ==
46 See the [[Rendering Project>>rendering:Main.WebHome]].
48 == XWiki Platform Structure ==
50 |=Directory name|=Description
51 |xwiki-platform/xwiki-platform-core|All core modules (JARs, skins, extensions, Web, etc)
52 |xwiki-platform/xwiki-platform-tools|Build tools and various other misc. tools.
53 |xwiki-platform/xwiki-platform-distribution|Distributed packages (WAR, installers, Standard Flavor, etc)
55 = Getting Sources =
57 Go to {{scm}}GitHub{{/scm}}, select the repository you wish to get and follow the GitHub instructions.
59 Then [[build>>Building]] the sources.
61 Alternatively, locate the XWiki artifact for which you wish to get the sources of in our [[Maven Repository>>]] and download the associated source JAR. For example to get the sources for the "XWiki Commons Component API" module, get the JAR file ending with ##-sources## [[here>>]].
63 = Branches and Tags =
65 Check our [[Versioning and Release practices>>VersioningAndReleasePractices#HReleasesandSCM]].
67 = History =
69 Originally the sources were put on SourceForge in CVS in 2003. They were then moved to a Subversion instance and are now in git on GitHub.
71 Some details:
73 * An old archived version when the sources were in SVN can be [[accessed through WebArchive>>]].
74 * To get the first commit of XWiki, checkout ##xwiki-platform## and issue: {{code}}git rev-list --max-parents=0 --tags --branches --reverse | head -1 | xargs git log{{/code}} (another less good way: {{code}}git log --reverse XWIKI_0_1_10{{/code}}).
76 {{info}}
77 Some trivia:
78 * The first commit of XWiki was done by Ludovic on 15 December 2003, at 09:13:33 Paris/France time.
79 * The first version of XWiki was taking less than 6MB of disk space (uncompressed and including its libraries).
80 {{/info}}

Get Connected