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.


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


Building phenopacket-schema locally

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

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