.. _rstjavabuild: ########## Java Build ########## Most users of phenopacket-schema in Java should use maven central to include the phenopacket-schema package. Setting up the Java build ~~~~~~~~~~~~~~~~~~~~~~~~~ To include the phenopacket-schema package from maven central, add the following to the pom file Define the phenopackets.version in the properties section of the pom.xml file. .. code-block:: xml UTF-8 ... 1.0.0 Then put the following stanza into the ``dependencies`` section of the maven pom.xml file. .. code-block:: xml org.phenopackets phenopacket-schema ${phenopackets.version} Building phenopacket-schema locally ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Users can also download phenopacket-schema from its `GitHub repository `_ and install it locally. :: $ git clone https://github.com/phenopackets/phenopacket-schema $ cd phenopacket-schema $ mvn compile $ mvn install