Java Build

Most users of phenopackets-schema in Java should use maven central to include the phenopackets-schema package.

Setting up the Java build

To include the phenopackets-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.


Then put the following stanza into the dependencies section of the maven pom.xml file.


Building phenopackets-schema locally

Users can also download phenopackets-schema from its GitHub repository and install it locally.

$ git clone
$ cd phenopacket-schema
$ mvn compile
$ mvn install