PhenoTips » Developer Guide » Source Repository

Source Repository

All sources are stored in Git repositories on GitHub.

You can browse the source repositories and download/clone the sources by using GitHub.

Project Structure

Directory nameDescription
pom.xmlThe top level Maven build descriptor (a.k.a POM). It's referenced by all other build modules.
componentsJava modules, most of them components that can plug into the XWiki platform (JARs)
resourcesVarious resource modules, with static configuration files and wiki documents
distributionDistribution packages, such as a .war file that can be deployed in a servlet container, or a standalone .zip ready to go

Getting Sources

Go to GitHub and follow the GitHub instructions.

For example, the official git software can be used from the command line as: git clone https://github.com/phenotips/phenotips.git

GitHub also provides dedicated graphical clients for Mac OS and Windows, and an Eclipse plugin.

Then build the sources.

Alternatively, locate the 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 "PhenoTips - Patient measurements - Java APIs" module, get the JAR file ending with -sources.jar from the target version.